Skip to content

Commit 5883aae

Browse files
committed
🐛 pr-feedback: reuse html template string
1 parent 58ff13c commit 5883aae

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/e2e/lib/framework/pageSetups.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -249,9 +249,7 @@ export function html(parts: readonly string[], ...vars: string[]) {
249249
return parts.reduce((full, part, index) => full + vars[index - 1] + part)
250250
}
251251

252-
export function js(parts: readonly string[], ...vars: string[]) {
253-
return parts.reduce((full, part, index) => full + vars[index - 1] + part)
254-
}
252+
export const js = html
255253

256254
function setupEventBridge(servers: Servers) {
257255
const baseHostname = new URL(servers.base.origin).hostname

0 commit comments

Comments
 (0)