mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2026-03-01 12:44:17 +00:00
a little linting
This commit is contained in:
parent
1ecd8fbc2f
commit
0317c634d6
@ -1,17 +1,6 @@
|
||||
/// <reference types="cypress" />
|
||||
|
||||
describe('Utopia Map Login Form Elements', () => {
|
||||
// TODO: set this data different
|
||||
const _testData = {
|
||||
validUser: {
|
||||
email: Cypress.env('validEmail'),
|
||||
password: Cypress.env('validPassword')
|
||||
},
|
||||
invalidUser: {
|
||||
email: Cypress.env('invalidEmail'),
|
||||
password: Cypress.env('invalidPassword')
|
||||
}
|
||||
}
|
||||
|
||||
beforeEach(() => {
|
||||
cy.clearCookies()
|
||||
|
||||
@ -15,8 +15,7 @@
|
||||
// automatically serving support files with the 'supportFile' configuration option.
|
||||
|
||||
// Global exception handler
|
||||
Cypress.on('uncaught:exception', (err, _runnable) => {
|
||||
// eslint-disable-next-line no-console
|
||||
Cypress.on('uncaught:exception', (err) => {
|
||||
console.log('Uncaught exception:', err.message)
|
||||
// returning false here prevents Cypress from failing the test
|
||||
return false
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user