@nx/plugin
Version:
28 lines (27 loc) • 603 B
TypeScript
/**
* Run a command asynchronously inside the e2e directory.
*
* @param command
* @param opts
*/
export declare function runCommandAsync(command: string, opts?: {
silenceError?: boolean;
env?: NodeJS.ProcessEnv;
cwd?: string;
}): Promise<{
stdout: string;
stderr: string;
}>;
/**
* Run a nx command asynchronously inside the e2e directory
* @param command
* @param opts
*/
export declare function runNxCommandAsync(command: string, opts?: {
silenceError?: boolean;
env?: NodeJS.ProcessEnv;
cwd?: string;
}): Promise<{
stdout: string;
stderr: string;
}>;