Skip to content

@pumpkin-plugins/test-harness API / instance / StartOptions

Interface: StartOptions ​

Defined in: instance.ts:9

Options for startPumpkin.

Extends ​

Properties ​

config? ​

optional config?: Record<string, unknown>

Defined in: server-dir.ts:13

Overrides merged into the generated pumpkin.toml (Pumpkin fills in the rest).

Inherited from ​

ServerDirOptions.config


files? ​

optional files?: Record<string, string | Uint8Array<ArrayBufferLike>>

Defined in: server-dir.ts:15

Files to create before startup, keyed by path relative to the server directory.

Inherited from ​

ServerDirOptions.files


name? ​

optional name?: string

Defined in: instance.ts:11

Used in the saved log file name when PUMPKIN_TEST_LOG_DIR is set.


plugins? ​

optional plugins?: string[]

Defined in: server-dir.ts:11

Paths to built plugin .wasm files, copied into the server's plugins/ folder.

Inherited from ​

ServerDirOptions.plugins


readyTimeoutMs? ​

optional readyTimeoutMs?: number

Defined in: instance.ts:13

How long to wait for the server to finish starting. Default 90 s.

Pumpkin Plugins documentation