mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-11 01:43:23 +01:00
14 lines
313 B
JavaScript
14 lines
313 B
JavaScript
import './commands';
|
|
|
|
Cypress.on('window:before:load', (win) => {
|
|
cy.spy(win.console, 'error');
|
|
cy.spy(win.console, 'warn');
|
|
});
|
|
|
|
// afterEach(() => {
|
|
// cy.window().then((win) => {
|
|
// expect(win.console.error).to.have.callCount(0);
|
|
// expect(win.console.warn).to.have.callCount(0);
|
|
// });
|
|
// });
|