rwsdk
Version:
Build fast, server-driven webapps on Cloudflare with SSR, RSC, and realtime
16 lines (15 loc) • 556 B
text/typescript
import { log } from "./constants.mjs";
export { log };
export declare function isRunningInCI(ciFlag?: boolean): boolean;
/**
* Handles test failure by logging the error and initiating teardown
*/
export declare function fail(error: unknown, exitCode?: number, step?: string): Promise<never>;
/**
* Handles resource teardown and exits the process with appropriate exit code
*/
export declare function teardown(): Promise<void>;
/**
* Formats the path suffix from a custom path
*/
export declare function formatPathSuffix(customPath?: string): string;