mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-11 01:43:23 +01:00
Enable warning validation on cypress
This commit is contained in:
parent
e60ed49478
commit
159557b73c
@ -8,6 +8,6 @@ Cypress.on('window:before:load', (win) => {
|
|||||||
afterEach(() => {
|
afterEach(() => {
|
||||||
cy.window().then((win) => {
|
cy.window().then((win) => {
|
||||||
expect(win.console.error).to.have.callCount(0);
|
expect(win.console.error).to.have.callCount(0);
|
||||||
// expect(win.console.warn).to.have.callCount(0);
|
expect(win.console.warn).to.have.callCount(0);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user