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
Next Next commit
fix: test failure
  • Loading branch information
ttzztztz committed Feb 18, 2021
commit 2bc172dd697033589ab7a7fa34aae3faab4a167c
4 changes: 2 additions & 2 deletions test/parallel/test-timers-promisified.js
Original file line number Diff line number Diff line change
Expand Up @@ -394,9 +394,9 @@ process.on('multipleResolves', common.mustNotCall());
let post = false;

Promise.all([
setPromiseTimeout(100).then(() => pre = true),
setPromiseTimeout(1).then(() => pre = true),
new Promise((res) => {
const iterable = setInterval(() => {}, 200);
const iterable = timerPromises.setInterval(() => {}, 200);
const iterator = iterable[Symbol.asyncIterator]();

iterator.next().then(common.mustCall(() => {
Comment thread
ttzztztz marked this conversation as resolved.
Outdated
Expand Down