Skip to content

Commit 037f876

Browse files
alexweejaduh95
authored andcommitted
Add somewhat redundant mustCalls. Open to suggestions on how to appease the linter...
1 parent 6cda862 commit 037f876

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/parallel/test-eventtarget-once-twice.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ test('should resolve `once` twice', (t, done) => {
1313
await once(et, 'foo');
1414
await once(et, 'foo');
1515
done();
16-
})();
16+
})(common.mustCall());
1717

1818
(async () => {
1919
et.dispatchEvent(new Event('foo'));
2020
await setImmediate();
2121
et.dispatchEvent(new Event('foo'));
22-
})();
22+
})(common.mustCall());
2323

24-
});
24+
});

0 commit comments

Comments
 (0)