UNPKG

@push-based/node-cli-testing

Version:

### A e2e-testing library for node CLI and processes including sandbox generation on the fly

7 lines (6 loc) 523 B
import { ProcessParams, ProjectConfig } from './types'; import { CliProject } from "./cli"; export declare function getFolderContent(folders: string[]): string[]; export declare function deleteFileOrFolder(files: string | string[]): void; export declare function processParamsToParamsArray(params: ProcessParams): string[]; export declare function withProject<T extends {}>(cfg: ProjectConfig<T>, fn: (prj: CliProject<T>) => Promise<void>, factory?: (cfg: ProjectConfig<T>) => Promise<CliProject<T>>): () => Promise<void>;