UNPKG

@sprucelabs/spruce-cli

Version:

Command line interface for building Spruce skills.

24 lines (23 loc) 889 B
import { GeneratedFile } from '../../types/cli.types'; declare const testUtil: { shouldClearCache(): boolean; isCacheEnabled(): boolean; resolveTestDir(cacheKey?: string): string; shouldCleanupTestSkillDirs(): boolean; shouldCleanupAfterEach(): boolean; shouldCleanupAfterAll(): boolean; getTestRootDir(): string; assertCountsByAction(files: GeneratedFile[] | undefined, options: { generated: number; updated: number; skipped: number; }): void; assertFileByNameInGeneratedFiles(name: string | RegExp, files: GeneratedFile[] | undefined): string; assertFileByPathInGeneratedFiles(path: string | RegExp, files: GeneratedFile[] | undefined): string; startTime: number; startLogTimer(): void; log(...args: any[]): void; getTimeSpent(): number; getTimeSpentFormatted(): string; }; export default testUtil;