augment-vir - v31.59.0
    Preparing search index...

    Type Alias SnapshotTestCase<FunctionToTest>

    SnapshotTestCase: Omit<
        FunctionTestCase<NoInfer<FunctionToTest>>,
        "expect" | "throws",
    > & { fails?: boolean }

    Test case for snapshotCases.

    Type Parameters

    Type Declaration

    • Optionalfails?: boolean

      If true, allows errors to be thrown and snapshotted. Otherwise thrown errors will fail the test.