|
@@ -1,6 +1,7 @@
|
|
|
import '@testing-library/cypress/add-commands'
|
|
import '@testing-library/cypress/add-commands'
|
|
|
import { interceptCompile } from './compile'
|
|
import { interceptCompile } from './compile'
|
|
|
import { interceptEvents } from './events'
|
|
import { interceptEvents } from './events'
|
|
|
|
|
+import { interceptSpelling } from './spelling'
|
|
|
|
|
|
|
|
// eslint-disable-next-line no-unused-vars,@typescript-eslint/no-namespace
|
|
// eslint-disable-next-line no-unused-vars,@typescript-eslint/no-namespace
|
|
|
declare global {
|
|
declare global {
|
|
@@ -10,9 +11,11 @@ declare global {
|
|
|
interface Chainable {
|
|
interface Chainable {
|
|
|
interceptCompile: typeof interceptCompile
|
|
interceptCompile: typeof interceptCompile
|
|
|
interceptEvents: typeof interceptEvents
|
|
interceptEvents: typeof interceptEvents
|
|
|
|
|
+ interceptSpelling: typeof interceptSpelling
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
Cypress.Commands.add('interceptCompile', interceptCompile)
|
|
Cypress.Commands.add('interceptCompile', interceptCompile)
|
|
|
Cypress.Commands.add('interceptEvents', interceptEvents)
|
|
Cypress.Commands.add('interceptEvents', interceptEvents)
|
|
|
|
|
+Cypress.Commands.add('interceptSpelling', interceptSpelling)
|