Skip to content

Commit 5925186

Browse files
committed
Do not fail if there are unhandled exceptions
1 parent 0c6c1d8 commit 5925186

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cypress/support/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,7 @@ import "./commands";
1818

1919
// Alternatively you can use CommonJS syntax:
2020
// require('./commands')
21+
22+
Cypress.on("uncaught:exception", () => {
23+
return false;
24+
});

0 commit comments

Comments
 (0)