mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-22 15:15:07 +01: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