Skip to content

Commit 59eac85

Browse files
joyeecheungtargos
andauthored
fixup! test: give more time to GC in test-shadow-realm-gc-module
Co-authored-by: Michaël Zasso <[email protected]>
1 parent 890f03a commit 59eac85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-shadow-realm-gc-module.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const common = require('../common');
1010
const fixtures = require('../common/fixtures');
1111
const { promisify } = require('util');
1212

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

0 commit comments

Comments
 (0)