wisemapping-frontend/packages/editor/cypress/support/e2e.js

14 lines
313 B
JavaScript
Raw Normal View History

import './commands';
2022-12-01 07:12:40 +01:00
Cypress.on('window:before:load', (win) => {
cy.spy(win.console, 'error');
cy.spy(win.console, 'warn');
});
2022-12-05 07:03:55 +01:00
// afterEach(() => {
// cy.window().then((win) => {
// expect(win.console.error).to.have.callCount(0);
// expect(win.console.warn).to.have.callCount(0);
// });
2022-12-01 07:12:40 +01:00
// });