just-scripts
Version:
Just Stack Scripts
28 lines • 766 B
TypeScript
/// <reference types="node" />
import { TaskFunction } from 'just-task';
export interface JestTaskOptions {
config?: string;
rootDir?: string;
runInBand?: boolean;
coverage?: boolean;
updateSnapshot?: boolean;
watch?: boolean;
colors?: boolean;
passWithNoTests?: boolean;
clearCache?: boolean;
silent?: boolean;
testPathPattern?: string;
testNamePattern?: string;
u?: boolean;
_?: string[];
/**
* Arguments to be passed into a spawn call for jest
*/
nodeArgs?: string[];
/**
* Environment variables to be passed to the jest runner
*/
env?: NodeJS.ProcessEnv;
}
export declare function jestTask(options?: JestTaskOptions): TaskFunction;
//# sourceMappingURL=jestTask.d.ts.map