The suite() function is imported from the node:test module.
namespace
test.default.suite
The 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.
Configuration options for the suite. This supports the same options as test.
The 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.
The 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.
The 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.
Configuration options for the suite. This supports the same options as test.
The suite function declaring nested tests and suites. The first argument to this function is a SuiteContext object.
Immediately fulfilled with undefined.
namespace suite
- name?: string,): Promise<void>;
Shorthand for marking a suite as
only. This is the same as calling suite withoptions.onlyset totrue.): Promise<void>;Shorthand for marking a suite as
only. This is the same as calling suite withoptions.onlyset totrue. - name?: string,): Promise<void>;
Shorthand for skipping a suite. This is the same as calling suite with
options.skipset totrue.): Promise<void>;Shorthand for skipping a suite. This is the same as calling suite with
options.skipset totrue. - name?: string,): Promise<void>;
Shorthand for marking a suite as
TODO. This is the same as calling suite withoptions.todoset totrue.): Promise<void>;Shorthand for marking a suite as
TODO. This is the same as calling suite withoptions.todoset totrue.