mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
e0d2b3f29a
GitOrigin-RevId: 0818a67f57fed3cbde4453dd1c2949d8d20b7ab0
16 lines
460 B
TypeScript
16 lines
460 B
TypeScript
import { mount, unmount } from '@cypress/react'
|
|
|
|
// 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 {
|
|
mount: typeof mount
|
|
unmount: typeof unmount
|
|
}
|
|
}
|
|
}
|
|
|
|
Cypress.Commands.add('mount', mount)
|
|
Cypress.Commands.add('unmount', unmount)
|