tscoverage/dist/npmts.config.d.ts

27 lines
769 B
TypeScript
Raw Normal View History

2017-07-27 23:21:37 +00:00
import { ITapbufferConfig } from 'tapbuffer';
2017-06-15 23:42:48 +00:00
/**
* specifies the different modes available
* default -> uses default options no matterm what
* merge -> uses merged default + custom options
* custom -> only uses specified options
*/
export declare type npmtsMode = 'default' | 'custom' | 'merge';
2016-09-06 15:33:28 +00:00
export interface INpmtsConfig {
2016-08-19 07:46:36 +00:00
argv: any;
coverageTreshold: number;
2017-06-15 23:42:48 +00:00
checkDependencies: boolean;
2016-08-19 07:46:36 +00:00
mode: npmtsMode;
test: boolean;
testTs: any;
2017-07-27 23:21:37 +00:00
testConfig: ITapbufferConfig;
2016-08-19 07:46:36 +00:00
ts: any;
tsOptions: any;
2016-09-22 21:23:16 +00:00
watch: boolean;
runData: {
coverageLcovInfo?: string;
coverageResult?: number;
};
2016-08-19 07:46:36 +00:00
}
export declare let run: (argvArg: any) => Promise<INpmtsConfig>;
2017-08-29 14:15:24 +00:00
export declare let configPromise: Promise<INpmtsConfig>;