UNPKG

@mmisty/cypress-grep

Version:

Filters tests by tags/title using substring or regular expressions (can find dynamic tags)

23 lines (22 loc) 629 B
type Replacement = { order: number; mapName: string; exp: string; inverse: boolean; }; export declare const simplifyParentheses: (input: string) => string; /** * replace all parenthesis groups with placeholder * @param input * @param replacements * @param num */ export declare const replaceParenthesisGroups: (input: string, replacements: Replacement[], num?: number) => string; /** * no parenthesis in the group * @param exp * @param inverse */ export declare const convertOneGroup: (exp: string, inverse: boolean) => string; export declare const selectionTestGrep: (str: string) => RegExp; export {};