Files
ray-project--ray/python/ray/dashboard/tests/cypress/support/e2e.js
T
2026-07-13 13:17:40 +08:00

8 lines
239 B
JavaScript

Cypress.on(`window:before:load`, win => {
cy.stub( win.console, `error`, msg => {
// Abort the test on any error in console,
// this is a hack to show full stack trace.
throw new Error( msg.stack );
});
});