UNPKG

@badeball/cypress-configuration

Version:

[![Build status](https://github.com/badeball/cypress-configuration/actions/workflows/build.yml/badge.svg)](https://github.com/badeball/cypress-configuration/actions/workflows/build.yml) [![Npm package weekly downloads](https://badgen.net/npm/dw/@badeball/

20 lines (19 loc) 687 B
/// <reference types="node" /> export declare const CONFIG_FILE_NAMES: string[]; export type TestingType = "e2e" | "component"; export interface ICypressPost10Configuration { testingType: TestingType; projectRoot: string; reporter: string; specPattern: string | string[]; excludeSpecPattern: string | string[]; env: Record<string, any>; } export declare function resolvePost10Configuration(options: { argv: string[]; env: NodeJS.ProcessEnv; cwd: string; parseDangerously?: boolean; testingType: TestingType; }): ICypressPost10Configuration; export declare function resolvePost10TestFiles(configuration: ICypressPost10Configuration): string[];