File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
test/cases/chunks/runtime Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 1+ /* globals it */
12it ( "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 ;
You can’t perform that action at this time.
0 commit comments