1 | import type { Options } from '@wdio/types';
|
2 | export declare const validObjectOrArray: (object: object) => object is object | Array<unknown>;
|
3 | /**
|
4 | * remove line numbers from file path, ex:
|
5 | * `/foo:9` or `c:\bar:14:5`
|
6 | * @param {string} filePath path to spec file
|
7 | * @returns {string}
|
8 | */
|
9 | export declare function removeLineNumbers(filePath: string): string;
|
10 | /**
|
11 | * does spec file path contain Cucumber's line number, ex
|
12 | * `/foo/bar:9` or `c:\bar\foo:14:5`
|
13 | * @param {string|string[]} spec
|
14 | */
|
15 | export declare function isCucumberFeatureWithLineNumber(spec: string | string[]): boolean;
|
16 | export declare function isCloudCapability(caps: WebdriverIO.Capabilities): boolean;
|
17 | /**
|
18 | * validates configurations based on default values
|
19 | * @param {Object} defaults object describing all allowed properties
|
20 | * @param {Object} options option to check against
|
21 | * @return {Object} validated config enriched with default values
|
22 | */
|
23 | export declare function validateConfig<T>(defaults: Options.Definition<T>, options: T, keysToKeep?: (keyof T)[]): T;
|
24 | //# sourceMappingURL=utils.d.ts.map |
\ | No newline at end of file |