fix(cypress): fix typecheck

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/1795>
This commit is contained in:
Kasper Seweryn 2023-06-19 22:55:27 +02:00
parent 05c8471ab8
commit ddb57ec1ce
1 changed files with 6 additions and 4 deletions

View File

@ -1,7 +1,9 @@
declare global {
namespace Cypress {
interface Chainable {
login(): Chainable<JQuery<HTMLElement>>
declare module 'cypress' {
global {
namespace Cypress {
interface Chainable {
login(): Chainable<JQuery<HTMLElement>>
}
}
}
}