Documentation
    Preparing search index...
    interface DriverTestConfig {
        cleanup?: () => Promise<void>;
        clientType: ClientType;
        encoding?: "json" | "cbor" | "bare";
        HACK_skipCleanupNet?: boolean;
        skip?: SkipTests;
        useRealTimers?: boolean;
        start(): Promise<DriverDeployOutput>;
    }
    Index

    Properties

    cleanup?: () => Promise<void>
    clientType: ClientType
    encoding?: "json" | "cbor" | "bare"
    HACK_skipCleanupNet?: boolean

    Cloudflare Workers has some bugs with cleanup.

    skip?: SkipTests
    useRealTimers?: boolean

    If we're testing with an external system, we should use real timers instead of Vitest's mocked timers.

    Methods