File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -305,16 +305,16 @@ describe('maplibregl L7Layer', () => {
305
305
spyOn ( l7Layer , 'show' ) ;
306
306
spyOn ( l7Layer , 'hide' ) ;
307
307
spyOn ( map . style , 'setLayoutProperty' ) ;
308
+ expect ( layer . animateStatus ) . toBeTruthy ( ) ;
308
309
309
310
map . setLayoutProperty ( layer . id , 'visibility' , 'hidden' ) ;
310
311
expect ( l7Layer . hide ) . toHaveBeenCalled ( ) ;
311
312
expect ( map . style . setLayoutProperty ) . toHaveBeenCalled ( ) ;
312
- expect ( layer . animateStatus ) . toBeTruthy ( ) ;
313
+ expect ( layer . animateStatus ) . toBeFalsy ( ) ;
313
314
314
315
map . setLayoutProperty ( layer . id , 'visibility' , 'visible' ) ;
315
316
expect ( l7Layer . show ) . toHaveBeenCalled ( ) ;
316
317
expect ( map . style . setLayoutProperty ) . toHaveBeenCalled ( ) ;
317
- expect ( layer . animateStatus ) . toBeTruthy ( ) ;
318
318
319
319
done ( ) ;
320
320
} ) ;
You can’t perform that action at this time.
0 commit comments