@oclif/test
Version:
test helpers for oclif components
12 lines (11 loc) • 324 B
TypeScript
import { Interfaces } from '@oclif/core';
import { loadConfig } from './load-config';
type Context = {
config: Interfaces.Config;
expectation: string;
returned: unknown;
};
export declare function command(args: string | string[], opts?: loadConfig.Options): {
run(ctx: Context): Promise<void>;
};
export {};