cumulocity-cypress
Version:
Cypress commands for Cumulocity IoT
17 lines (16 loc) • 872 B
TypeScript
import { C8yDefaultPactPreprocessor, C8yPact, C8yPactPreprocessorOptions, C8yPactRecord } from "../../shared/c8ypact";
/**
* The C8yCypressEnvPreprocessor is a preprocessor implementation that uses
* Cypress environment variables to configure C8yPactPreprocessorOptions.
*
* Options are deep merged in the following order:
* - Cypress environment variables
* - C8yPactPreprocessorOptions passed to the apply method
* - C8yPactPreprocessorOptions passed to the constructor
* - Cypress.c8ypact.config value for preprocessor
* - C8yPactPreprocessorDefaultOptions
*/
export declare class C8yCypressEnvPreprocessor extends C8yDefaultPactPreprocessor {
apply(obj: Partial<Cypress.Response<any> | C8yPactRecord | C8yPact>, options?: C8yPactPreprocessorOptions): void;
resolveOptions(options?: Partial<C8yPactPreprocessorOptions>): C8yPactPreprocessorOptions;
}