@pumpkin-plugins/test-harness API / instance / StartOptions
Interface: StartOptions
Defined in: instance.ts:9
Options for startPumpkin.
Extends
Properties
config?
optionalconfig?:Record<string,unknown>
Defined in: server-dir.ts:11
Overrides merged into the generated pumpkin.toml (Pumpkin fills in the rest).
Inherited from
files?
optionalfiles?:Record<string,string|Uint8Array<ArrayBufferLike>>
Defined in: server-dir.ts:13
Files to create before startup, keyed by path relative to the server directory.
Inherited from
logLevel?
optionallogLevel?:"info"|"debug"|"trace"
Defined in: instance.ts:11
The server's RUST_LOG level. Default info; debug shows plugins' debug logs too.
name?
optionalname?:string
Defined in: instance.ts:13
Used in the saved log file name when PUMPKIN_TEST_LOG_DIR is set.
plugins?
optionalplugins?:string[]
Defined in: server-dir.ts:18
Paths to built plugin .wasm files copied into the server's plugins/ folder. Basenames must be unique ignoring case.
Inherited from
readyTimeoutMs?
optionalreadyTimeoutMs?:number
Defined in: instance.ts:15
How long to wait for the server to finish starting. Default 90 s.