Enable warning validation on cypress

This commit is contained in:
Paulo Gustavo Veiga 2022-11-02 21:06:29 -07:00
parent e60ed49478
commit 159557b73c

View File

@ -8,6 +8,6 @@ Cypress.on('window:before:load', (win) => {
afterEach(() => {
cy.window().then((win) => {
expect(win.console.error).to.have.callCount(0);
// expect(win.console.warn).to.have.callCount(0);
expect(win.console.warn).to.have.callCount(0);
});
});