Vitest · Function
describe
describe groups related Vitest tests, benchmarks, and nested suites. It can also apply suite options such as timeouts, random order, or concurrency.
Last updated
Syntax
describe(name, body?, timeout?)
describe(name, options, body?)In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
suitedescribe.skipdescribe.skipIfdescribe.runIfdescribe.onlydescribe.concurrentdescribe.shuffledescribe.todo