ray/dashboard/tests/cypress/support/e2e.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
239 B
JavaScript
Raw Normal View History

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 );
});
});