Skip to content

Commit

Permalink
fix(test): ignore ResizeObserver error
Browse files Browse the repository at this point in the history
  • Loading branch information
syuilo committed Dec 28, 2021
1 parent 1ea0aae commit 4f43f01
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cypress/support/index.js
Expand Up @@ -18,3 +18,9 @@ import './commands'

// Alternatively you can use CommonJS syntax:
// require('./commands')

Cypress.on('uncaught:exception', (err, runnable) => {
if (err.message.includes('ResizeObserver loop limit exceeded')) {
return false
}
});

0 comments on commit 4f43f01

Please sign in to comment.