Przeglądaj źródła

fix(cypress): ResizeObserver loop undelivered notifications error

Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 84ceaddc66)
tags/v28.0.4rc1
Christopher Ng 3 miesięcy temu
rodzic
commit
2336455167
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1
    0
      cypress/support/e2e.ts

+ 1
- 0
cypress/support/e2e.ts Wyświetl plik

@@ -25,3 +25,4 @@ import './commands.ts'
// Fix ResizeObserver loop limit exceeded happening in Cypress only
// @see https://github.com/cypress-io/cypress/issues/20341
Cypress.on('uncaught:exception', err => !err.message.includes('ResizeObserver loop limit exceeded'))
Cypress.on('uncaught:exception', err => !err.message.includes('ResizeObserver loop completed with undelivered notifications'))

Ładowanie…
Anuluj
Zapisz