Skip to content

Commit 418fe96

Browse files
committed
Tests: Move hidden errors to ignore
1 parent 24262c5 commit 418fe96

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

jestEnv.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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(/The play\(\) request was interrupted by a call to pause\(\)|Failed to load because no supported source was found/));
36+
state.currentlyRunningTest.errors.filter(e => !(e instanceof Error) || !e.message.match(/The play\(\) request was interrupted by a call to pause\(\)|Failed to load because no supported source was found|The element has no supported sources/));
3737
if (state.currentlyRunningTest.errors.length)
3838
console.warn('Collected errors:', ...state.currentlyRunningTest.errors);
3939
}

0 commit comments

Comments
 (0)