The cause of the error.
Search the reference...
/
namespace
The column number where the test is defined, or undefined if the test was run through the REPL.
The path of the test file, undefined if test was run through the REPL.
The line number where the test is defined, or undefined if the test was run through the REPL.
The column number where the test is defined, or undefined if the test was run through the REPL.
Additional execution metadata.
The path of the test file, undefined if test was run through the REPL.
The line number where the test is defined, or undefined if the test was run through the REPL.
The test name.
The nesting level of the test.
Present if context.skip is called.
The ordinal number of the test.
Present if context.todo is called.
The nesting level of the test.
An object containing the coverage report.
The column number where the test is defined, or undefined if the test was run through the REPL.
The path of the test file, undefined if test was run through the REPL.
The line number where the test is defined, or undefined if the test was run through the REPL.
The test name.
The nesting level of the test.
The test type. Either 'suite' or 'test'.
The column number where the test is defined, or undefined if the test was run through the REPL.
The path of the test file, undefined if test was run through the REPL.
The severity level of the diagnostic message. Possible values are:
'info': Informational messages.'warn': Warnings.'error': Errors.The line number where the test is defined, or undefined if the test was run through the REPL.
The diagnostic message.
The nesting level of the test.
The column number where the test is defined, or undefined if the test was run through the REPL.
The path of the test file, undefined if test was run through the REPL.
The line number where the test is defined, or undefined if the test was run through the REPL.
The test name.
The nesting level of the test.
The test type. Either 'suite' or 'test'.
The column number where the test is defined, or undefined if the test was run through the REPL.
Additional execution metadata.
The path of the test file, undefined if test was run through the REPL.
The line number where the test is defined, or undefined if the test was run through the REPL.
The test name.
The nesting level of the test.
Present if context.skip is called.
The ordinal number of the test.
Present if context.todo is called.
An array of objects containing information about the interrupted tests.
The column number where the test is defined, or undefined if the test was run through the REPL.
Additional execution metadata.
The path of the test file, undefined if test was run through the REPL.
The line number where the test is defined, or undefined if the test was run through the REPL.
The test name.
The nesting level of the test.
Present if context.skip is called.
The ordinal number of the test.
Present if context.todo is called.
The column number where the test is defined, or undefined if the test was run through the REPL.
The number of subtests that have ran.
The path of the test file, undefined if test was run through the REPL.
The line number where the test is defined, or undefined if the test was run through the REPL.
The nesting level of the test.
The column number where the test is defined, or undefined if the test was run through the REPL.
The path of the test file, undefined if test was run through the REPL.
The line number where the test is defined, or undefined if the test was run through the REPL.
The test name.
The nesting level of the test.
The path of the test file.
The message written to stderr.
The path of the test file.
The message written to stdout.
An object containing the counts of various test results.
The duration of the test run in milliseconds.
The path of the test file that generated the summary. If the summary corresponds to multiple files, this value is undefined.
Indicates whether or not the test run is considered successful or not. If any error condition occurs, such as a failing test or unmet coverage threshold, this value will be set to false.
Resources
ReferenceDocsGuidesDiscordMerch StoreGitHubBlogToolkit
RuntimePackage managerTest runnerBundlerPackage runnerProject
Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseBaked with ❤️ in San Francisco
We're hiring →namespace EventData | Node.js node:test module | Bun,AI智能索引,全网链接索引,智能导航,网页索引
- API documentation for namespace node:test.default.EventData | Bun