rwsdk
Version:
Build fast, server-driven webapps on Cloudflare with SSR, RSC, and realtime
15 lines (14 loc) • 608 B
text/typescript
import tmp from "tmp-promise";
import { SmokeTestOptions, TestResources, PackageManager } from "./types.mjs";
/**
* Sets up the test environment, preparing any resources needed for testing
*/
export declare function setupTestEnvironment(options?: SmokeTestOptions): Promise<TestResources>;
/**
* Copy project to a temporary directory with a unique name
*/
export declare function copyProjectToTempDir(projectDir: string, sync: boolean | undefined, resourceUniqueKey: string, packageManager?: PackageManager): Promise<{
tempDir: tmp.DirectoryResult;
targetDir: string;
workerName: string;
}>;