mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 09:09:36 +02:00
Enable ESLint for all end-to-end tests GitOrigin-RevId: 5d085f52fabcc794b0457edbbb551500477d4110
13 lines
317 B
TypeScript
13 lines
317 B
TypeScript
import '@testing-library/cypress/add-commands'
|
|
|
|
Cypress.on('uncaught:exception', (err, runnable) => {
|
|
if (err.message.includes('ResizeObserver')) {
|
|
// spurious error from PDF preview
|
|
return false
|
|
}
|
|
if (err.message.includes('rcube_webmail')) {
|
|
// spurious error from mailtrap
|
|
return false
|
|
}
|
|
})
|