diff --git a/cypress/support/e2e.js b/cypress/support/e2e.js index a093b7d..f95acfd 100644 --- a/cypress/support/e2e.js +++ b/cypress/support/e2e.js @@ -20,12 +20,6 @@ // Import commands.js using ES2015 syntax: import "./commands"; -import { getCypressUncaughtExceptionDecision } from "./uncaughtExceptionPolicy"; - -Cypress.on("uncaught:exception", (error) => { - // Ignore only known benign browser/runtime noise; fail all other app errors. - return getCypressUncaughtExceptionDecision(error); -}); // Alternatively you can use CommonJS syntax: // require('./commands')