kopia lustrzana https://dev.funkwhale.audio/funkwhale/funkwhale
fix(cypress): move typings to a .d.ts file
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/1795>environments/review-docs-merge-hoc7bt/deployments/18064
rodzic
e1a217ffa0
commit
05c8471ab8
|
@ -0,0 +1,7 @@
|
|||
declare global {
|
||||
namespace Cypress {
|
||||
interface Chainable {
|
||||
login(): Chainable<JQuery<HTMLElement>>
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,9 +1 @@
|
|||
import './commands'
|
||||
|
||||
declare global {
|
||||
namespace Cypress {
|
||||
interface Chainable {
|
||||
login(): Chainable<JQuery<HTMLElement>>
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,6 +4,6 @@
|
|||
"lib": ["es5", "dom"],
|
||||
"types": ["cypress", "node"]
|
||||
},
|
||||
"include": ["**/*.ts"],
|
||||
"include": ["**/*.ts", "./cypress.d.ts"],
|
||||
"isolatedModules": false
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue