tscoverage/dist/npmts.config.d.ts

26 lines
702 B
TypeScript
Raw Normal View History

2017-07-28 01:21:37 +02: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 17:33:28 +02:00
export interface INpmtsConfig {
2016-08-19 09:46:36 +02:00
argv: any;
coverageTreshold: number;
2017-06-15 23:42:48 +00:00
checkDependencies: boolean;
2016-08-19 09:46:36 +02:00
mode: npmtsMode;
test: boolean;
testTs: any;
2017-07-28 01:21:37 +02:00
testConfig: ITapbufferConfig;
2016-08-19 09:46:36 +02:00
ts: any;
tsOptions: any;
2016-09-22 23:23:16 +02:00
watch: boolean;
runData: {
coverageLcovInfo?: string;
coverageResult?: number;
};
2016-08-19 09:46:36 +02:00
}
2017-01-18 00:58:09 +01:00
export declare let run: (argvArg: any) => Promise<{}>;