Skip to content
Closed
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
fixup: address review comment
  • Loading branch information
HarshithaKP committed Mar 17, 2020
commit 087829b5b5a54058f6686d50f0dc711316bb921e
2 changes: 2 additions & 0 deletions test/parallel/test-timers-clearImmediate-als.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
'use strict';
const common = require('../common');
const assert = require('assert');
const { AsyncLocalStorage } = require('async_hooks');

// This is an asynclocalstorage variant of test-timers-clearImmediate.js
Expand All @@ -18,6 +19,7 @@ function next() {
function onImmediate() {
const store = asyncLocalStorage.getStore();
const immediate = store.get('immediate');
Comment thread
addaleax marked this conversation as resolved.
assert.strictEqual(immediate.constructor.name, 'Immediate');
clearImmediate(immediate);
}

Expand Down