Skip to content

Commit 1ba597e

Browse files
committed
tsignore instead of Node 13 syntax
1 parent b0b825f commit 1ba597e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

packages/wmr/test/fixtures.test.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,8 @@ describe('fixtures', () => {
229229
expect(text).toEqual('0');
230230

231231
let increment = await env.page.$('.increment');
232-
await increment?.click();
232+
// @ts-ignore-next
233+
await increment.click();
233234
text = count ? await count.evaluate(el => el.textContent) : null;
234235
expect(text).toEqual('1');
235236

@@ -240,7 +241,8 @@ describe('fixtures', () => {
240241
await timeout(2000);
241242

242243
increment = await env.page.$('.increment');
243-
await increment?.click();
244+
// @ts-ignore-next
245+
await increment.click();
244246
text = count ? await count.evaluate(el => el.textContent) : null;
245247
expect(text).toEqual('3');
246248
});

0 commit comments

Comments
 (0)