Optionalname: stringThe name of the suite, which is displayed when reporting test results.
Defaults to the name property of fn, or '<anonymous>' if fn does not have a name.
Optionaloptions: TestOptionsConfiguration options for the suite. This supports the same options as test.
Optionalfn: SuiteFnThe suite function declaring nested tests and suites. The first argument to this function is a SuiteContext object.
Immediately fulfilled with undefined.
The suite() function is imported from the node:test module.
Optionalname: stringThe name of the suite, which is displayed when reporting test results.
Defaults to the name property of fn, or '<anonymous>' if fn does not have a name.
Optionalfn: SuiteFnThe suite function declaring nested tests and suites. The first argument to this function is a SuiteContext object.
Immediately fulfilled with undefined.
The suite() function is imported from the node:test module.
Optionaloptions: TestOptionsConfiguration options for the suite. This supports the same options as test.
Optionalfn: SuiteFnThe suite function declaring nested tests and suites. The first argument to this function is a SuiteContext object.
Immediately fulfilled with undefined.
The suite() function is imported from the node:test module.
Optionalfn: SuiteFnThe suite function declaring nested tests and suites. The first argument to this function is a SuiteContext object.
Immediately fulfilled with undefined.
The
suite()function is imported from thenode:testmodule.