Skip to content

Commit

Permalink
fixup! rebase messed up the lint
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamingr committed Jun 6, 2020
1 parent 86e55de commit d36ab1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/parallel/test-eventtarget.js
Original file line number Diff line number Diff line change
Expand Up @@ -458,9 +458,9 @@ ok(EventTarget);
// test NodeEventTarget async-iterability
const emitter = new NodeEventTarget();
const event = new Event('foo');
const interval = setInterval(() => emitter.dispatchEvent(event));
const interval = setInterval(() => emitter.dispatchEvent(event), 0);
let count = 0;
for await(const [ item ] of on(emitter, 'foo')) {
for await (const [ item ] of on(emitter, 'foo')) {
count++;
strictEqual(item.type, 'foo');
if (count > 5) {
Expand Down

0 comments on commit d36ab1f

Please sign in to comment.