overleaf/services/web/cypress/support/shared/exceptions.ts

7 lines
173 B
TypeScript
Raw Normal View History

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