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

    Type Alias SnapshotTestCaseWithContext<FunctionToTest>

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

    Test case for snapshotCasesWithContext.

    Type Parameters

    Type Declaration

    • Optionalfails?: boolean

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