change linting rulefor cypress/support/

This commit is contained in:
mahula 2025-10-08 11:44:42 +02:00
parent 27fa9c8e80
commit 71273cc3dc
2 changed files with 3 additions and 3 deletions

View File

@ -68,8 +68,8 @@ export default tseslint.config(
{
files: ['cypress/support/**/*.{js,ts}'],
rules: {
// Allow console in support files for debugging
'no-console': 'off'
// Enable console warnings in support files
'no-console': 'warn'
}
},

View File

@ -7,8 +7,8 @@ import addContext from 'mochawesome/addContext'
// Global exception handler
Cypress.on('uncaught:exception', (err) => {
// eslint-disable-next-line no-console
console.log('Uncaught exception:', err.message)
// returning false here prevents Cypress from failing the test
return false
})