chore: import upstream snapshot with attribution
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
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 );
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user