rwsdk
Version:
Build fast, server-driven webapps on Cloudflare with SSR, RSC, and realtime
11 lines (10 loc) • 487 B
text/typescript
import { SmokeTestOptions, StreamCapturer } from "./types.mjs";
export declare const capturer: StreamCapturer;
/**
* Sets up the artifacts directory with a clean structure
*/
export declare function setupArtifactsDirectory(artifactDir: string, options?: SmokeTestOptions): Promise<void>;
/**
* Helper function to take and save a screenshot with a descriptive name
*/
export declare function takeScreenshot(page: any, url: string, artifactDir: string, status: string): Promise<void>;