mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-23 02:33:08 +02:00
fix(test): ignore ResizeObserver error
This commit is contained in:
parent
1ea0aaef76
commit
4f43f019e0
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue