overleaf/services/web/cypress/support/shared/exceptions.js
Alf Eaton 53324b0cd2 Add Cypress React component testing (#6974)
GitOrigin-RevId: 1260312a0644f3bc60e007a840045974336e264d
2022-04-05 12:17:30 +00:00

6 lines
173 B
JavaScript

Cypress.on('uncaught:exception', err => {
// don't fail the test for ResizeObserver error messages
if (err.message.includes('ResizeObserver')) {
return false
}
})