Skip to content

Commit 8b31a6f

Browse files
Merge pull request #1 from jecfish/patch-1
fix: Add missing end bracket
2 parents bd08394 + 18780ac commit 8b31a6f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/stringifyExtension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ export class StringifyExtension extends PuppeteerStringifyExtension {
254254
): void {
255255
out.appendLine('await browser.waitUntil(() => (').startBlock()
256256
out.appendLine( `browser.execute(() => ${step.expression})`).endBlock()
257-
out.appendLine(')')
257+
out.appendLine('))')
258258
}
259259

260260
getSelector(selectors: Selector[], flow: UserFlow): string | undefined {

test/stringifyExtension.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ describe('StringifyExtension', () => {
6969
expect(writer.toString()).toBe(
7070
'await browser.waitUntil(() => (\n' +
7171
' browser.execute(() => document.querySelector(\'#someElem\').innerText === \' x 2\')\n' +
72-
')\n'
72+
'))\n'
7373
)
7474
})
7575

0 commit comments

Comments
 (0)