@@ -280,7 +280,7 @@ describe('WorkdirContextPool', function() {
280
280
assert . isTrue ( emitterSpy . calledOnce ) ;
281
281
assert . deepEqual (
282
282
emitterSpy . getCall ( 0 ) . args [ 0 ] ,
283
- { added : new Set ( [ dir1 , dir2 ] ) , removed : new Set ( [ dir0 ] ) }
283
+ { added : new Set ( [ dir1 , dir2 ] ) , removed : new Set ( [ dir0 ] ) } ,
284
284
) ;
285
285
} ) ;
286
286
@@ -294,7 +294,7 @@ describe('WorkdirContextPool', function() {
294
294
assert . isTrue ( emitterSpy . calledOnce ) ;
295
295
assert . deepEqual (
296
296
emitterSpy . getCall ( 0 ) . args [ 0 ] ,
297
- { removed : new Set ( [ dir0 ] ) }
297
+ { removed : new Set ( [ dir0 ] ) } ,
298
298
) ;
299
299
} ) ;
300
300
@@ -310,7 +310,7 @@ describe('WorkdirContextPool', function() {
310
310
assert . isTrue ( emitterSpy . calledOnce ) ;
311
311
assert . deepEqual (
312
312
emitterSpy . getCall ( 0 ) . args [ 0 ] ,
313
- { altered : new Set ( [ dir0 ] ) }
313
+ { altered : new Set ( [ dir0 ] ) } ,
314
314
) ;
315
315
} ) ;
316
316
@@ -323,15 +323,15 @@ describe('WorkdirContextPool', function() {
323
323
assert . isTrue ( emitterSpy . calledThrice ) ;
324
324
assert . deepEqual (
325
325
emitterSpy . getCall ( 0 ) . args [ 0 ] ,
326
- { added : new Set ( [ dir0 ] ) }
326
+ { added : new Set ( [ dir0 ] ) } ,
327
327
) ;
328
328
assert . deepEqual (
329
329
emitterSpy . getCall ( 1 ) . args [ 0 ] ,
330
- { added : new Set ( [ dir1 ] ) }
330
+ { added : new Set ( [ dir1 ] ) } ,
331
331
) ;
332
332
assert . deepEqual (
333
333
emitterSpy . getCall ( 2 ) . args [ 0 ] ,
334
- { added : new Set ( [ dir2 ] ) }
334
+ { added : new Set ( [ dir2 ] ) } ,
335
335
) ;
336
336
} ) ;
337
337
@@ -350,22 +350,22 @@ describe('WorkdirContextPool', function() {
350
350
assert . isTrue ( emitterSpy . calledThrice ) ;
351
351
assert . deepEqual (
352
352
emitterSpy . getCall ( 0 ) . args [ 0 ] ,
353
- { removed : new Set ( [ dir0 ] ) }
353
+ { removed : new Set ( [ dir0 ] ) } ,
354
354
) ;
355
355
assert . deepEqual (
356
356
emitterSpy . getCall ( 1 ) . args [ 0 ] ,
357
- { removed : new Set ( [ dir1 ] ) }
357
+ { removed : new Set ( [ dir1 ] ) } ,
358
358
) ;
359
359
assert . deepEqual (
360
360
emitterSpy . getCall ( 2 ) . args [ 0 ] ,
361
- { removed : new Set ( [ dir2 ] ) }
361
+ { removed : new Set ( [ dir2 ] ) } ,
362
362
) ;
363
363
} ) ;
364
364
365
365
it ( 'does not emit for remove when a context did not exist' , function ( ) {
366
366
pool . remove ( dir1 ) ;
367
367
assert . isFalse ( emitterSpy . called ) ;
368
368
} ) ;
369
- } )
369
+ } ) ;
370
370
} ) ;
371
371
} ) ;
0 commit comments