Skip to content

Commit

Permalink
cypress swallowing errors?
Browse files Browse the repository at this point in the history
  • Loading branch information
pauldambra committed Oct 27, 2023
1 parent d084e3f commit 5d7a85f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions cypress/support/e2e.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ import 'given2/setup'
// require('./commands')

// Add console errors into cypress logs.
Cypress.on('window:before:load', (win) => {
cy.spy(win.console, 'error')
cy.spy(win.console, 'warn')
cy.spy(win.console, 'log')
cy.spy(win.console, 'debug')
})
// Cypress.on('window:before:load', (win) => {
// cy.spy(win.console, 'error')
// cy.spy(win.console, 'warn')
// cy.spy(win.console, 'log')
// cy.spy(win.console, 'debug')
// })

beforeEach(() => {
cy.server()
Expand Down

0 comments on commit 5d7a85f

Please sign in to comment.