Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: use test runner in eventtarget-once-twice test #55752

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Tidy up imports
  • Loading branch information
alexweej committed Nov 7, 2024
commit 2178ded08e21acc90cffccd0f5a5c137fcd38750
3 changes: 1 addition & 2 deletions test/parallel/test-eventtarget-once-twice.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
'use strict';
const common = require('../common');
const assert = require('node:assert/strict');
require('../common');
const { once } = require('node:events');
const { test } = require('node:test');
const { setImmediate } = require('node:timers/promises');
Expand All @@ -19,7 +18,7 @@
et.dispatchEvent(new Event('foo'));
await setImmediate();
et.dispatchEvent(new Event('foo'));
})()

Check failure on line 21 in test/parallel/test-eventtarget-once-twice.js

View workflow job for this annotation

GitHub Actions / lint-js-and-md

Missing trailing comma
]);

});
Loading