Skip to content

Commit c0b42c5

Browse files
no need to catch this (add key to repeated element)
1 parent 0e4044a commit c0b42c5

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

cypress/support/index.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,3 @@ import './commands'
2323
Cypress.Cookies.defaults({
2424
whitelist: /wordpress_.*/
2525
})
26-
27-
Cypress.on('uncaught:exception', (err, runnable) => {
28-
// ignore crossorigin errors - happens when a chart is inserted in Gutenberg.
29-
expect(err.message).to.include('crossorigin');
30-
31-
// returning false here prevents Cypress from
32-
// failing the test
33-
return false
34-
})

0 commit comments

Comments
 (0)