Skip to content

Commit 0f07dde

Browse files
committed
fix lint issues
1 parent f70eee5 commit 0f07dde

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

test/cases/chunks/runtime/index.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* globals it */
12
it("should handle duplicate chunks", function(done) {
23
var firstOne = false, secondOne = false;
34
require.ensure([], function(require) {
@@ -22,7 +23,9 @@ it("should not load a chunk which is included in a already loaded one", function
2223
try {
2324
async.should.be.eql(true);
2425
loadChunk();
25-
} catch(e) { done(e); }
26+
} catch(e) {
27+
done(e);
28+
}
2629
});
2730
Promise.resolve().then(function() {}).then(function() {}).then(function() {
2831
async = true;
@@ -33,7 +36,9 @@ it("should not load a chunk which is included in a already loaded one", function
3336
try {
3437
sync.should.be.eql(true);
3538
done();
36-
} catch(e) { done(e); }
39+
} catch(e) {
40+
done(e);
41+
}
3742
});
3843
Promise.resolve().then(function() {}).then(function() {}).then(function() {
3944
sync = false;

0 commit comments

Comments
 (0)