StartServerOptions
Defined in: packages/pic/src/pocket-ic-server-types.ts:4
Options for starting a PocketIC server.
Properties
Section titled “Properties”binPath?
Section titled “binPath?”
optionalbinPath: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.
showCanisterLogs?
Section titled “showCanisterLogs?”
optionalshowCanisterLogs:boolean
Defined in: packages/pic/src/pocket-ic-server-types.ts:13
Whether to pipe the canister logs to the parent process’s stderr.
showRuntimeLogs?
Section titled “showRuntimeLogs?”
optionalshowRuntimeLogs: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.
optionalttl: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.