suite(name?, options?, fn?): Promise
Attributes
name?:
stringThe name of the suite, which is displayed when reporting test
results. Default: The
name property of fn, or '<anonymous>' if fn
does not have a name.options:
ObjectOptional configuration options for the suite.
This supports the same options as
test([name][, options][, fn]).fn?:
Function | AsyncFunctionThe suite function declaring nested tests and
suites. The first argument to this function is a
SuiteContext object.
Default: A no-op function.Returns:
PromiseImmediately fulfilled with
undefined.The suite() function is imported from the node:test module.