Skip to content

@pumpkin-plugins/test-harness API / server-dir / ServerDirOptions

Interface: ServerDirOptions ​

Defined in: server-dir.ts:9

What goes into a test server's directory.

Extended by ​

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).


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.


plugins? ​

optional plugins?: string[]

Defined in: server-dir.ts:11

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

Pumpkin Plugins documentation