mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-27 13:31:28 +00:00
0b14c55d24
* Upgrade Cypress to v12.2.0 * Remove cy.unmount * Only record video in CI * Remove unmount definition and @cypress/react GitOrigin-RevId: 463bc216b1debc65ad066f7c1d479724cfa062d1
14 lines
379 B
TypeScript
14 lines
379 B
TypeScript
import { mount } 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
|
|
}
|
|
}
|
|
}
|
|
|
|
Cypress.Commands.add('mount', mount)
|