rest-vir - v2.2.0
    Preparing search index...

    Type Alias TeardownEndpointCase<HostContext, TestParams>

    TeardownEndpointCase: BivariantFunction<
        [
            params: Readonly<
                {
                    hostContext: HostContext
                    | undefined;
                    testContext: Readonly<UniversalTestContext>;
                    testParams: TestParams;
                },
            >,
        ],
        MaybePromise<void>,
    >

    Tears down a test case. Always runs (even if the request or assertions throw).

    Type Parameters

    • HostContext
    • TestParams