Skip to content

@pumpkin-plugins/test-harness API / log-buffer / WaitOptions

Interface: WaitOptions ​

Defined in: log-buffer.ts:4

How a wait for a log line ends when the line never comes.

Properties ​

fromIndex ​

fromIndex: number

Defined in: log-buffer.ts:8

Only consider lines from this index on.


isOver ​

isOver: () => boolean

Defined in: log-buffer.ts:10

Whether the process has ended, so waiting is pointless.

Returns ​

boolean


process ​

process: string

Defined in: log-buffer.ts:12

What the process is, for the error message.


timeoutMs ​

timeoutMs: number

Defined in: log-buffer.ts:6

Give up after this many milliseconds.

Pumpkin Plugins documentation