UNPKG

workspace-tools

Version:

A collection of tools that are useful in a git-controlled monorepo that is managed by one of these software:

8 lines (7 loc) 387 B
/** * Create a temp directory containing the given fixture name in a git repo. * Be sure to call `cleanupFixtures()` after all tests to clean up temp directories. */ export declare function setupFixture(fixtureName: string): string; export declare function cleanupFixtures(): void; export declare function setupLocalRemote(cwd: string, remoteName: string, fixtureName: string): void;