Skip to main content
Defined in: testing/chaos.ts:265 All chaos knobs. Every field is optional; {} is a transparent wrapper.

Properties

seed?

Defined in: testing/chaos.ts:267 PRNG seed. Same seed + same call sequence → same chaos. Default 1.

duplicates?

Defined in: testing/chaos.ts:269 A probability, or full ChaosDuplicateOptions.

reorder?

Defined in: testing/chaos.ts:271 A window size, or full ChaosReorderOptions.

latency?

Defined in: testing/chaos.ts:273 Inbound delay per event.

sendFailures?

Defined in: testing/chaos.ts:275 A probability, or full ChaosSendFailureOptions.

sendLatency?

Defined in: testing/chaos.ts:277 Outbound delay per send.

disconnects?

Defined in: testing/chaos.ts:279 Automatic connection drops (manual ones: ChaosProvider.disconnect).

aliases?

Defined in: testing/chaos.ts:281 Alias identities for the same human.

kinds?

Defined in: testing/chaos.ts:286 Inbound event kinds the chaos applies to. Default ['message', 'interaction']. connection events always pass straight through.