wisemapping-frontend/packages/editor/cypress/support/e2e.js
Paulo Gustavo Veiga 3a505224f6 Add test on push
2022-12-04 21:47:16 -08:00

14 lines
328 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);
// // });
// });