Evalkeeper
    Preparing search index...

    Variable assertExpectConst

    assertExpect: ContractExpect = ...

    An expect on node:assert, with just the matchers the contracts use, for running them outside Vitest (under node:test, say). Failures are node:assert errors, so any runner reports them.

    The value to check.

    What to say when a check fails.

    import { describe, it } from "node:test";
    import { assertExpect, describeStoreContract } from "@crowandraven/evalkeeper/testing";

    describeStoreContract("my store", () => myStore(), {
    test: { describe, it, expect: assertExpect },
    });