Skip to content

Commit a9dcf43

Browse files
committed
fixed tests
1 parent 5bbfbae commit a9dcf43

File tree

2 files changed

+5
-5
lines changed
  • test

2 files changed

+5
-5
lines changed

test/browsertest/node_modules/library2/lib/main.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/cases/chunks/runtime/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ it("should not load a chunk which is included in a already loaded one", function
2222
async.should.be.eql(true);
2323
loadChunk();
2424
});
25-
process.nextTick(function() {
25+
Promise.resolve().then(function() {
2626
async = true;
2727
});
2828
function loadChunk() {
@@ -31,7 +31,7 @@ it("should not load a chunk which is included in a already loaded one", function
3131
sync.should.be.eql(true);
3232
done();
3333
});
34-
process.nextTick(function() {
34+
Promise.resolve().then(function() {
3535
sync = false;
3636
});
3737
}

0 commit comments

Comments
 (0)