Vitest · Type Alias
TestContext
TestContext is the object Vitest passes to each test callback. It gives the test metadata and an expect function bound to that test.
Last updated
Syntax
(context: TestContext) => unknownIn-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
testittest.concurrentexpecttask