fix lint issues

This commit is contained in:
Tim Sebastian 2017-04-09 13:49:37 +10:00
parent f70eee5568
commit 0f07ddedca
1 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,4 @@
/* globals it */
it("should handle duplicate chunks", function(done) {
var firstOne = false, secondOne = false;
require.ensure([], function(require) {
@ -22,7 +23,9 @@ it("should not load a chunk which is included in a already loaded one", function
try {
async.should.be.eql(true);
loadChunk();
} catch(e) { done(e); }
} catch(e) {
done(e);
}
});
Promise.resolve().then(function() {}).then(function() {}).then(function() {
async = true;
@ -33,7 +36,9 @@ it("should not load a chunk which is included in a already loaded one", function
try {
sync.should.be.eql(true);
done();
} catch(e) { done(e); }
} catch(e) {
done(e);
}
});
Promise.resolve().then(function() {}).then(function() {}).then(function() {
sync = false;