mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-03 22:27:55 -05:00
716f186fed
GitOrigin-RevId: 856c523a4ca34f8ccdc38067cef6fcd8a5c20250
18 lines
623 B
TypeScript
18 lines
623 B
TypeScript
import '@testing-library/cypress/add-commands'
|
|
import { interceptCompile } from './compile'
|
|
import { interceptEvents } from './events'
|
|
|
|
// eslint-disable-next-line no-unused-vars,@typescript-eslint/no-namespace
|
|
declare global {
|
|
// eslint-disable-next-line @typescript-eslint/no-namespace,no-unused-vars
|
|
namespace Cypress {
|
|
// eslint-disable-next-line no-unused-vars
|
|
interface Chainable {
|
|
interceptCompile: typeof interceptCompile
|
|
interceptEvents: typeof interceptEvents
|
|
}
|
|
}
|
|
}
|
|
|
|
Cypress.Commands.add('interceptCompile', interceptCompile)
|
|
Cypress.Commands.add('interceptEvents', interceptEvents)
|