Function extend()
extend(
test:TestAPI):ExtendedTestAPI
Source: test.ts
Extends Vitest's TestAPI with functions from the CustomTestAPI.
Parameters
test
TestAPI
The Vitest test API.
Returns
The extended test API.
Example
ts
import { test as base } from "vitest";
const test = extend(base);