Updated prettier config

This commit is contained in:
2022-10-04 17:31:54 +02:00
parent add9cdabcb
commit 837516f0e6
31 changed files with 188 additions and 234 deletions

View File

@ -14,12 +14,12 @@
// ***********************************************************
// Import commands.js using ES2015 syntax:
import './commands'
import './commands';
// Alternatively you can use CommonJS syntax:
// require('./commands')
import { mount } from 'cypress/react18'
import { mount } from 'cypress/react18';
// Augment the Cypress namespace to include type definitions for
// your custom command.
@ -28,12 +28,12 @@ import { mount } from 'cypress/react18'
declare global {
namespace Cypress {
interface Chainable {
mount: typeof mount
mount: typeof mount;
}
}
}
Cypress.Commands.add('mount', mount)
Cypress.Commands.add('mount', mount);
// Example use:
// cy.mount(<MyComponent />)
// cy.mount(<MyComponent />)

View File

@ -14,7 +14,7 @@
// ***********************************************************
// Import commands.js using ES2015 syntax:
import "./commands";
import './commands';
// Alternatively you can use CommonJS syntax:
// require('./commands')

View File

@ -3,4 +3,4 @@
"compilerOptions": {
"isolatedModules": false
}
}
}