UNPKG

@cypress/grep

Version:
23 lines (22 loc) 829 B
interface TitleGrep { title: string; invert: boolean; } interface TagGrep { tag: string; invert: boolean; } export declare const parseTitleGrep: (s: string) => TitleGrep | null; export declare const parseFullTitleGrep: (s: string) => TitleGrep[]; export declare const parseTagsGrep: (s?: string) => TagGrep[][]; export declare const shouldTestRunTags: (parsedGrepTags: TagGrep[][], tags?: string[]) => boolean; export declare const shouldTestRunTitle: (parsedGrep: TitleGrep[], testName: string) => boolean; export declare const shouldTestRun: (parsedGrep: { title: TitleGrep[]; tags: TagGrep[][]; }, testName: string, tags?: string[], grepUntagged?: boolean) => boolean; export declare const parseGrep: (titlePart: string, tags?: string) => { title: TitleGrep[]; tags: TagGrep[][]; }; export {};