lib-tools
Version:
The lib-tools helps you simplify the build, bundle, test and npm packaging workflows for Typescript, JavaScript, Angular library projects and assets module projects.
13 lines (12 loc) • 536 B
TypeScript
import * as karma from 'karma';
import { Configuration as WebpackConfiguration } from 'webpack';
import { CoverageReporterOptions, JunitReporterOptions, TestCommandOptions } from '../../models';
export interface KarmaConfigOptions extends karma.ConfigOptions {
webpackConfig: WebpackConfiguration;
configFile?: string | null;
coverageReporter?: CoverageReporterOptions;
junitReporter?: JunitReporterOptions;
}
export declare function cliTest(argv: TestCommandOptions & {
[key: string]: unknown;
}): Promise<number>;