fix(test): ignore ResizeObserver error

This commit is contained in:
syuilo 2021-12-29 05:09:26 +09:00
parent 1ea0aaef76
commit 4f43f019e0
1 changed files with 6 additions and 0 deletions

View File

@ -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
}
});