# Interface DriverTestConfig

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

- Defined in rivetkit-typescript/packages/rivetkit/src/driver-test-suite/mod.ts:43

##### Index

### Properties

cleanup?
clientType
encoding?
HACK_skipCleanupNet?
skip?
useRealTimers?

### Methods

start

## Properties

### `Optional` cleanup

cleanup?: () => Promise<void>

- Defined in rivetkit-typescript/packages/rivetkit/src/driver-test-suite/mod.ts:62

### clientType

clientType: ClientType

- Defined in rivetkit-typescript/packages/rivetkit/src/driver-test-suite/mod.ts:60

### `Optional` encoding

encoding?: "json" | "cbor" | "bare"

- Defined in rivetkit-typescript/packages/rivetkit/src/driver-test-suite/mod.ts:58

### `Optional` HACK_skipCleanupNet

HACK_skipCleanupNet?: boolean

Cloudflare Workers has some bugs with cleanup.

- Defined in rivetkit-typescript/packages/rivetkit/src/driver-test-suite/mod.ts:54

### `Optional` skip

skip?: SkipTests

- Defined in rivetkit-typescript/packages/rivetkit/src/driver-test-suite/mod.ts:56

### `Optional` useRealTimers

useRealTimers?: boolean

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

- Defined in rivetkit-typescript/packages/rivetkit/src/driver-test-suite/mod.ts:51

## Methods

### start

- start(): Promise<DriverDeployOutput>

  Deploys an registry and returns the connection endpoint.

  #### Returns Promise<DriverDeployOutput>

  - Defined in rivetkit-typescript/packages/rivetkit/src/driver-test-suite/mod.ts:45