From 4f43f019e03533f63e0f6a0021bef81a525035e4 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 + } +});