Appearance
spool / Suite
Interface: Suite โ
Defined in: plugins/probe/suite.ts:50
In-game tests, run with /function <ns>:probe/run.
Each case runs setup, waits after ticks, checks expect, then teardown. Cases run one after another so they never share the world. Results go to chat. Nothing runs on load or tick.
Methods โ
case() โ
case(
name,spec):this
Defined in: plugins/probe/suite.ts:64
Add a case. No-op (and nothing retained) when the suite is disabled.
Parameters โ
name โ
string
spec โ
Returns โ
this
run() โ
run():
FunctionRef|undefined
Defined in: plugins/probe/suite.ts:73
Emits the suite and returns <root>/run, or undefined if disabled or empty. Call once, after every case.
Returns โ
FunctionRef | undefined