Skip to content

Commit f973ffe

Browse files
committed
fixup! timers: use timerListMap and outstandingQueue to count timers
1 parent 206ac18 commit f973ffe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/parallel/test-process-getactiveresources-track-timer-lifetime.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const assert = require('assert');
88
assert.strictEqual(process.getActiveResourcesInfo().filter(
99
(type) => type === 'Timeout').length, 0);
1010

11-
setTimeout(common.mustCall(function () {
11+
setTimeout(common.mustCall(function() {
1212
// TODO(RaisinTen): This should be the correct behaviour.
1313
// assert.strictEqual(process.getActiveResourcesInfo().filter(
1414
// (type) => type === 'Timeout').length, 1);
@@ -27,7 +27,7 @@ const assert = require('assert');
2727
assert.strictEqual(process.getActiveResourcesInfo().filter(
2828
(type) => type === 'Immediate').length, 0);
2929

30-
setImmediate(common.mustCall(function () {
30+
setImmediate(common.mustCall(function() {
3131
// TODO(RaisinTen): Change this test to the following when the Immediate is
3232
// destroyed and unrefed after the callback gets executed.
3333
// assert.strictEqual(process.getActiveResourcesInfo().filter(

0 commit comments

Comments
 (0)