Better Payment 0.11.1 API
    Preparing search index...

    Interface ChaosOptions

    interface ChaosOptions {
        allowProduction?: boolean;
        enabled?: boolean;
        rules: ChaosRule[];
        seed?: number;
    }
    Index
    allowProduction?: boolean

    Allow the plugin in production mode. Default: false (it throws)

    enabled?: boolean

    Default: true. Turn it on with an environment variable: process.env.CHAOS === '1'

    rules: ChaosRule[]

    Rules are checked in order; the first matching rule that fires is applied

    seed?: number

    Makes runs reproducible: the same seed fires the same rules in the same order