File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ class Env extends PuppeteerEnvironment {
3333 // need to filter some exceptions
3434 // currently occurs in queue > adds proper controls
3535 state . currentlyRunningTest . errors =
36- state . currentlyRunningTest . errors . filter ( e => ! ( e instanceof Error ) || ! e . message . match ( / T h e p l a y \( \) r e q u e s t w a s i n t e r r u p t e d b y a c a l l t o p a u s e \( \) | F a i l e d t o l o a d b e c a u s e n o s u p p o r t e d s o u r c e w a s f o u n d / ) ) ;
36+ state . currentlyRunningTest . errors . filter ( e => ! ( e instanceof Error ) || ! e . message . match ( / T h e p l a y \( \) r e q u e s t w a s i n t e r r u p t e d b y a c a l l t o p a u s e \( \) | F a i l e d t o l o a d b e c a u s e n o s u p p o r t e d s o u r c e w a s f o u n d | T h e e l e m e n t h a s n o s u p p o r t e d s o u r c e s / ) ) ;
3737 if ( state . currentlyRunningTest . errors . length )
3838 console . warn ( 'Collected errors:' , ...state . currentlyRunningTest . errors ) ;
3939 }
You can’t perform that action at this time.
0 commit comments