mirror of https://github.com/webpack/webpack.git
fix lint issues
This commit is contained in:
parent
f70eee5568
commit
0f07ddedca
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue