@mmisty/cypress-grep
Version:
Filters tests by tags/title using substring or regular expressions (can find dynamic tags)
10 lines (9 loc) • 514 B
TypeScript
type PublicValue = string | boolean | number | null | undefined | Record<string, unknown> | unknown[];
/**
* Prefer `Cypress.expose()` (Cypress 15.10+). Fall back to `Cypress.env()` for compatibility with `CYPRESS_*`
* variables (while `allowCypressEnv: true` is enabled).
*/
export declare const getPublic: (key: string) => unknown;
/** Write public config. Mirrors to both `expose` and `env` while env is still allowed. */
export declare const setPublic: (key: string, value: PublicValue) => void;
export {};