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/

23 lines (22 loc) 1.04 kB
/// <reference types="node" /> import { ICypressPost10Configuration, TestingType } from "./cypress-post10-configuration"; import { CypressConfigurationError, MissingConfigurationFileError, MultipleConfigurationFilesError, UnrecognizedConfigurationFileError, UnsupportedCypressEra } from "./errors"; export { TestingType, CypressConfigurationError, MissingConfigurationFileError, MultipleConfigurationFilesError, UnrecognizedConfigurationFileError, UnsupportedCypressEra, }; export type ICypressConfiguration = ICypressPost10Configuration; export declare enum CypressEra { POST_V10 = 0, PRE_V10 = 1 } export declare function determineCypressEra(options: { argv: string[]; env: NodeJS.ProcessEnv; cwd: string; }): CypressEra; export declare function resolveConfiguration(options: { argv: string[]; env: NodeJS.ProcessEnv; cwd: string; parseDangerously?: boolean; testingType: TestingType; }): ICypressConfiguration; export declare function resolveTestFiles(configuration: ICypressConfiguration): string[];