mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2026-03-01 12:44:17 +00:00
14 lines
426 B
TypeScript
14 lines
426 B
TypeScript
/// <reference types="cypress" />
|
|
|
|
import './commands'
|
|
|
|
// This file is processed and loaded automatically before your test files.
|
|
// This is a great place to put global configuration and behavior that modifies Cypress.
|
|
|
|
// Global exception handler
|
|
Cypress.on('uncaught:exception', (err) => {
|
|
console.log('Uncaught exception:', err.message)
|
|
// returning false here prevents Cypress from failing the test
|
|
return false
|
|
})
|