From 9de7888199ed995e6a2fd3d5800ba41fba4c209a Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 29 Dec 2021 05:09:26 +0900 Subject: [PATCH] fix(test): ignore ResizeObserver error --- cypress/support/index.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cypress/support/index.js b/cypress/support/index.js index d68db96df..a9ac34476 100644 --- a/cypress/support/index.js +++ b/cypress/support/index.js @@ -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 + } +});