Skip to content

Commit

Permalink
fixup! test: give more time to GC in test-shadow-realm-gc-module
Browse files Browse the repository at this point in the history
Co-authored-by: Michaël Zasso <targos@protonmail.com>
  • Loading branch information
joyeecheung and targos authored Nov 15, 2023
1 parent 890f03a commit 59eac85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-shadow-realm-gc-module.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const common = require('../common');
const fixtures = require('../common/fixtures');
const { promisify } = require('util');

Check failure on line 11 in test/parallel/test-shadow-realm-gc-module.js

View workflow job for this annotation

GitHub Actions / lint-js-and-md

'promisify' is assigned a value but never used

let wait = promisify(setTimeout);
const wait = require('timers/promises').setTimeout;
async function main() {
const mod = fixtures.fileURL('es-module-shadow-realm', 'state-counter.mjs');
for (let i = 0; i < 100; i++) {
Expand Down

0 comments on commit 59eac85

Please sign in to comment.