switchyard
    Preparing search index...

    Interface ModelTest<H>

    One generated test: register name and run with the test runner.

    interface ModelTest<H> {
        name: string;
        path: ModelPath;
        run(harness: H): Promise<void>;
    }

    Type Parameters

    • H
    Index
    name: string
    path: ModelPath
    • Checks the start state, then fires each event of the path and checks the state after it.

      Parameters

      • harness: H

      Returns Promise<void>