Skip to content

Commit ba929ad

Browse files
committed
fixup! fixup! test: ensure assertions are reached on more tests
1 parent 4a388f1 commit ba929ad

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/parallel/test-worker-arraybuffer-zerofill.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
'use strict';
2-
require('../common');
2+
const common = require('../common');
33
const Countdown = require('../common/countdown');
44
const assert = require('assert');
55
const { Worker } = require('worker_threads');

test/parallel/test-worker-message-port-transfer-self.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,6 @@ port2.onmessage = common.mustCall((message) => {
3939
const inspectedPort2 = util.inspect(port2);
4040
assert(inspectedPort1.includes('active: false'), inspectedPort1);
4141
assert(inspectedPort2.includes('active: false'), inspectedPort2);
42-
}, 10));
42+
}, 1));
4343
});
4444
port1.postMessage(2);

0 commit comments

Comments
 (0)