21 lines
432 B
TypeScript
21 lines
432 B
TypeScript
/// <reference types="cypress" />
|
|
|
|
declare namespace Cypress {
|
|
interface Chainable {
|
|
/**
|
|
* Should run before each spec!
|
|
*/
|
|
init(user?: string): Chainable<Element>;
|
|
|
|
/**
|
|
* Should run after each spec!
|
|
*/
|
|
cleanup(): Chainable<Element>;
|
|
|
|
/**
|
|
* Deletes user uploads before tests
|
|
*/
|
|
deleteAllProjects(): Chainable<Element>;
|
|
}
|
|
}
|