Skip to content

Commit fb542fe

Browse files
committed
Revert "revert e2e changes"
This reverts commit f74edab.
1 parent f19b547 commit fb542fe

File tree

1 file changed

+8
-0
lines changed
  • cypress-tests/cypress/support

1 file changed

+8
-0
lines changed

cypress-tests/cypress/support/e2e.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,11 @@ import "./commands";
1919

2020
// Alternatively you can use CommonJS syntax:
2121
// require('./commands')
22+
23+
Cypress.on("uncaught:exception", (err) => {
24+
// returning false here prevents Cypress from failing the test
25+
if (err.message.includes("Failed to fetch dynamically imported module")) {
26+
return false;
27+
}
28+
return true;
29+
});

0 commit comments

Comments
 (0)