Skip to content

StartServerOptions

Defined in: packages/pic/src/pocket-ic-server-types.ts:4

Options for starting a PocketIC server.

optional binPath: string

Defined in: packages/pic/src/pocket-ic-server-types.ts:20

Path to the PocketIC server binary. Defaults to the POCKET_IC_BIN environment variable if set, otherwise the binary downloaded by this package’s install script.


optional showCanisterLogs: boolean

Defined in: packages/pic/src/pocket-ic-server-types.ts:13

Whether to pipe the canister logs to the parent process’s stderr.


optional showRuntimeLogs: boolean

Defined in: packages/pic/src/pocket-ic-server-types.ts:8

Whether to pipe the runtimes’s logs to the parent process’s stdout.


optional ttl: number

Defined in: packages/pic/src/pocket-ic-server-types.ts:28

Time to live of the server in seconds since the last completed operation, after which the server shuts down gracefully. Must be a non-negative integer. If not provided, the server’s default time to live is used.