cypress-contract-stubs
Version:
Cypress plugin for Spring Contract Stubs
13 lines (12 loc) • 379 B
TypeScript
declare global {
namespace Cypress {
interface InterceptStubsOptions {
names?: string[];
headers?: Record<string, any>;
}
interface Chainable {
interceptStubs(options?: InterceptStubsOptions): Chainable<null>;
}
}
}
export declare function interceptStubs(options?: Cypress.InterceptStubsOptions): void;