| https://beta.docs.nodejs.org/ |
| Learn | https://nodejs.org/en/learn |
| About | https://nodejs.org/en/about |
| Download | https://nodejs.org/en/download |
| Docs | https://nodejs.org/docs/latest/api/ |
| Blog | https://nodejs.org/en/blog/ |
| Contribute | https://github.com/nodejs/node/blob/main/CONTRIBUTING.md |
| https://github.com/nodejs/node |
| About this documentation | https://beta.docs.nodejs.org/index.html |
| Usage and example | https://beta.docs.nodejs.org/synopsis.html |
| Assert | https://beta.docs.nodejs.org/assert.html |
| Async hooks | https://beta.docs.nodejs.org/async_hooks.html |
| Asynchronous context tracking | https://beta.docs.nodejs.org/async_context.html |
| Benchmark runner | https://beta.docs.nodejs.org/bench.html |
| Buffer | https://beta.docs.nodejs.org/buffer.html |
| C++ addons | https://beta.docs.nodejs.org/addons.html |
| C++ embedder API | https://beta.docs.nodejs.org/embedding.html |
| Child process | https://beta.docs.nodejs.org/child_process.html |
| Cluster | https://beta.docs.nodejs.org/cluster.html |
| Command-line API | https://beta.docs.nodejs.org/cli.html |
| Console | https://beta.docs.nodejs.org/console.html |
| Crypto | https://beta.docs.nodejs.org/crypto.html |
| Debugger | https://beta.docs.nodejs.org/debugger.html |
| Deprecated APIs | https://beta.docs.nodejs.org/deprecations.html |
| Diagnostic report | https://beta.docs.nodejs.org/report.html |
| Diagnostics Channel | https://beta.docs.nodejs.org/diagnostics_channel.html |
| DNS | https://beta.docs.nodejs.org/dns.html |
| Domain | https://beta.docs.nodejs.org/domain.html |
| DTLS | https://beta.docs.nodejs.org/dtls.html |
| Environment Variables | https://beta.docs.nodejs.org/environment_variables.html |
| Errors | https://beta.docs.nodejs.org/errors.html |
| Events | https://beta.docs.nodejs.org/events.html |
| FFI | https://beta.docs.nodejs.org/ffi.html |
| File system | https://beta.docs.nodejs.org/fs.html |
| Global objects | https://beta.docs.nodejs.org/globals.html |
| HTTP | https://beta.docs.nodejs.org/http.html |
| HTTP/2 | https://beta.docs.nodejs.org/http2.html |
| HTTPS | https://beta.docs.nodejs.org/https.html |
| Inspector | https://beta.docs.nodejs.org/inspector.html |
| Internationalization support | https://beta.docs.nodejs.org/intl.html |
| Iterable Streams | https://beta.docs.nodejs.org/stream_iter.html |
| Modules: node:module API | https://beta.docs.nodejs.org/module.html |
| Modules: CommonJS modules | https://beta.docs.nodejs.org/modules.html |
| Modules: ECMAScript modules | https://beta.docs.nodejs.org/esm.html |
| Modules: Packages | https://beta.docs.nodejs.org/packages.html |
| Modules: TypeScript | https://beta.docs.nodejs.org/typescript.html |
| Net | https://beta.docs.nodejs.org/net.html |
| Node-API | https://beta.docs.nodejs.org/n-api.html |
| OS | https://beta.docs.nodejs.org/os.html |
| Path | https://beta.docs.nodejs.org/path.html |
| Performance measurement APIs | https://beta.docs.nodejs.org/perf_hooks.html |
| Permissions | https://beta.docs.nodejs.org/permissions.html |
| Process | https://beta.docs.nodejs.org/process.html |
| Punycode | https://beta.docs.nodejs.org/punycode.html |
| Query string | https://beta.docs.nodejs.org/querystring.html |
| Readline | https://beta.docs.nodejs.org/readline.html |
| REPL | https://beta.docs.nodejs.org/repl.html |
| Single executable applications | https://beta.docs.nodejs.org/single-executable-applications.html |
| SQLite | https://beta.docs.nodejs.org/sqlite.html |
| Stream | https://beta.docs.nodejs.org/stream.html |
| String decoder | https://beta.docs.nodejs.org/string_decoder.html |
| Test runner | https://beta.docs.nodejs.org/test.html |
| run | https://beta.docs.nodejs.org/test/run.html |
| suite | https://beta.docs.nodejs.org/test/suite.html |
| suite.skip | https://beta.docs.nodejs.org/test/suite.skip.html |
| suite.todo | https://beta.docs.nodejs.org/test/suite.todo.html |
| suite.only | https://beta.docs.nodejs.org/test/suite.only.html |
| test | https://beta.docs.nodejs.org/test/test.html |
| test.skip | https://beta.docs.nodejs.org/test/skip.html |
| test.todo | https://beta.docs.nodejs.org/test/todo.html |
| test.only | https://beta.docs.nodejs.org/test/only.html |
| describe | https://beta.docs.nodejs.org/test/describe.html |
| describe.skip | https://beta.docs.nodejs.org/test/describe.skip.html |
| describe.todo | https://beta.docs.nodejs.org/test/describe.todo.html |
| describe.only | https://beta.docs.nodejs.org/test/describe.only.html |
| it | https://beta.docs.nodejs.org/test/it.html |
| it.skip | https://beta.docs.nodejs.org/test/it.skip.html |
| it.todo | https://beta.docs.nodejs.org/test/it.todo.html |
| it.only | https://beta.docs.nodejs.org/test/it.only.html |
| before | https://beta.docs.nodejs.org/test/before.html |
| after | https://beta.docs.nodejs.org/test/after.html |
| beforeEach | https://beta.docs.nodejs.org/test/beforeEach.html |
| afterEach | https://beta.docs.nodejs.org/test/afterEach.html |
| assert | https://beta.docs.nodejs.org/test/assert.html |
| snapshot | https://beta.docs.nodejs.org/test/snapshot.html |
| MockFunctionContext | https://beta.docs.nodejs.org/test/MockFunctionContext.html |
| MockModuleContext | https://beta.docs.nodejs.org/test/MockModuleContext.html |
| MockPropertyContext | https://beta.docs.nodejs.org/test/MockPropertyContext.html |
| MockTracker | https://beta.docs.nodejs.org/test/MockTracker.html |
| MockTimers | https://beta.docs.nodejs.org/test/MockTimers.html |
| TestsStream | https://beta.docs.nodejs.org/test/TestsStream.html |
| getTestContext | https://beta.docs.nodejs.org/test/getTestContext.html |
| TestContext | https://beta.docs.nodejs.org/test/TestContext.html |
| SuiteContext | https://beta.docs.nodejs.org/test/SuiteContext.html |
| Timers | https://beta.docs.nodejs.org/timers.html |
| TLS (SSL) | https://beta.docs.nodejs.org/tls.html |
| Trace events | https://beta.docs.nodejs.org/tracing.html |
| TTY | https://beta.docs.nodejs.org/tty.html |
| UDP/datagram sockets | https://beta.docs.nodejs.org/dgram.html |
| URL | https://beta.docs.nodejs.org/url.html |
| Util | https://beta.docs.nodejs.org/util.html |
| V8 | https://beta.docs.nodejs.org/v8.html |
| Virtual File System | https://beta.docs.nodejs.org/vfs.html |
| VM (executing JavaScript) | https://beta.docs.nodejs.org/vm.html |
| Web Crypto API | https://beta.docs.nodejs.org/webcrypto.html |
| Web Streams API | https://beta.docs.nodejs.org/webstreams.html |
| WebAssembly System Interface (WASI) | https://beta.docs.nodejs.org/wasi.html |
| Worker threads | https://beta.docs.nodejs.org/worker_threads.html |
| Zlib | https://beta.docs.nodejs.org/zlib.html |
| Subtests | https://beta.docs.nodejs.org/test.html#subtests |
| Rerunning failed tests | https://beta.docs.nodejs.org/test.html#rerunning-failed-tests |
| describe() and it() aliases | https://beta.docs.nodejs.org/test.html#describe-and-it-aliases |
| Skipping tests | https://beta.docs.nodejs.org/test.html#skipping-tests |
| TODO tests | https://beta.docs.nodejs.org/test.html#todo-tests |
| Expecting tests to fail | https://beta.docs.nodejs.org/test.html#expecting-tests-to-fail |
| only tests | https://beta.docs.nodejs.org/test.html#only-tests |
| Filtering tests by name | https://beta.docs.nodejs.org/test.html#filtering-tests-by-name |
| Test tags | https://beta.docs.nodejs.org/test.html#test-tags |
| Authoring tagged tests | https://beta.docs.nodejs.org/test.html#authoring-tagged-tests |
| Filtering syntax | https://beta.docs.nodejs.org/test.html#filtering-syntax |
| Extraneous asynchronous activity | https://beta.docs.nodejs.org/test.html#extraneous-asynchronous-activity |
| Watch mode | https://beta.docs.nodejs.org/test.html#watch-mode |
| Global setup and teardown | https://beta.docs.nodejs.org/test.html#global-setup-and-teardown |
| Running tests from the command line | https://beta.docs.nodejs.org/test.html#running-tests-from-the-command-line |
| Randomizing tests execution order | https://beta.docs.nodejs.org/test.html#randomizing-tests-execution-order |
| Test runner execution model | https://beta.docs.nodejs.org/test.html#test-runner-execution-model |
| Collecting code coverage | https://beta.docs.nodejs.org/test.html#collecting-code-coverage |
| Coverage reporters | https://beta.docs.nodejs.org/test.html#coverage-reporters |
| Mocking | https://beta.docs.nodejs.org/test.html#mocking |
| Timers | https://beta.docs.nodejs.org/test.html#timers |
| Dates | https://beta.docs.nodejs.org/test.html#dates |
| Snapshot testing | https://beta.docs.nodejs.org/test.html#snapshot-testing |
| Test reporters | https://beta.docs.nodejs.org/test.html#test-reporters |
| Custom reporters | https://beta.docs.nodejs.org/test.html#custom-reporters |
| Multiple reporters | https://beta.docs.nodejs.org/test.html#multiple-reporters |
| run | https://beta.docs.nodejs.org/test.html#runoptions |
| suite | https://beta.docs.nodejs.org/test.html#suitename-options-fn |
| suite.skip | https://beta.docs.nodejs.org/test.html#suiteskipname-options-fn |
| suite.todo | https://beta.docs.nodejs.org/test.html#suitetodoname-options-fn |
| suite.only | https://beta.docs.nodejs.org/test.html#suiteonlyname-options-fn |
| test | https://beta.docs.nodejs.org/test.html#testname-options-fn |
| test.skip | https://beta.docs.nodejs.org/test.html#testskipname-options-fn |
| test.todo | https://beta.docs.nodejs.org/test.html#testtodoname-options-fn |
| test.only | https://beta.docs.nodejs.org/test.html#testonlyname-options-fn |
| describe | https://beta.docs.nodejs.org/test.html#describename-options-fn |
| describe.skip | https://beta.docs.nodejs.org/test.html#describeskipname-options-fn |
| describe.todo | https://beta.docs.nodejs.org/test.html#describetodoname-options-fn |
| describe.only | https://beta.docs.nodejs.org/test.html#describeonlyname-options-fn |
| it | https://beta.docs.nodejs.org/test.html#itname-options-fn |
| it.skip | https://beta.docs.nodejs.org/test.html#itskipname-options-fn |
| it.todo | https://beta.docs.nodejs.org/test.html#ittodoname-options-fn |
| it.only | https://beta.docs.nodejs.org/test.html#itonlyname-options-fn |
| before | https://beta.docs.nodejs.org/test.html#beforefn-options |
| after | https://beta.docs.nodejs.org/test.html#afterfn-options |
| beforeEach | https://beta.docs.nodejs.org/test.html#beforeeachfn-options |
| afterEach | https://beta.docs.nodejs.org/test.html#aftereachfn-options |
| assert | https://beta.docs.nodejs.org/test.html#assert |
| assert.register | https://beta.docs.nodejs.org/test.html#assertregistername-fn |
| snapshot | https://beta.docs.nodejs.org/test.html#snapshot |
| snapshot.setDefaultSnapshotSerializers | https://beta.docs.nodejs.org/test.html#snapshotsetdefaultsnapshotserializersserializers |
| snapshot.setResolveSnapshotPath | https://beta.docs.nodejs.org/test.html#snapshotsetresolvesnapshotpathfn |
| MockFunctionContext | https://beta.docs.nodejs.org/test.html#class-mockfunctioncontext |
| ctx.calls | https://beta.docs.nodejs.org/test.html#ctxcalls |
| ctx.callCount | https://beta.docs.nodejs.org/test.html#ctxcallcount |
| ctx.mockImplementation | https://beta.docs.nodejs.org/test.html#ctxmockimplementationimplementation |
| ctx.mockImplementationOnce | https://beta.docs.nodejs.org/test.html#ctxmockimplementationonceimplementation-oncall |
| ctx.resetCalls | https://beta.docs.nodejs.org/test.html#ctxresetcalls |
| ctx.restore | https://beta.docs.nodejs.org/test.html#ctxrestore |
| MockModuleContext | https://beta.docs.nodejs.org/test.html#class-mockmodulecontext |
| ctx.restore | https://beta.docs.nodejs.org/test.html#ctxrestore-1 |
| MockPropertyContext | https://beta.docs.nodejs.org/test.html#class-mockpropertycontext |
| ctx.accesses | https://beta.docs.nodejs.org/test.html#ctxaccesses |
| ctx.accessCount | https://beta.docs.nodejs.org/test.html#ctxaccesscount |
| ctx.mockImplementation | https://beta.docs.nodejs.org/test.html#ctxmockimplementationvalue |
| ctx.mockImplementationOnce | https://beta.docs.nodejs.org/test.html#ctxmockimplementationoncevalue-onaccess |
| ctx.resetAccesses | https://beta.docs.nodejs.org/test.html#ctxresetaccesses |
| ctx.restore | https://beta.docs.nodejs.org/test.html#ctxrestore-2 |
| MockTracker | https://beta.docs.nodejs.org/test.html#class-mocktracker |
| mock.fn | https://beta.docs.nodejs.org/test.html#mockfnoriginal-implementation-options |
| mock.getter | https://beta.docs.nodejs.org/test.html#mockgetterobject-methodname-implementation-options |
| mock.method | https://beta.docs.nodejs.org/test.html#mockmethodobject-methodname-implementation-options |
| mock.module | https://beta.docs.nodejs.org/test.html#mockmodulespecifier-options |
| mock.property | https://beta.docs.nodejs.org/test.html#mockpropertyobject-propertyname-value |
| mock.reset | https://beta.docs.nodejs.org/test.html#mockreset |
| mock.restoreAll | https://beta.docs.nodejs.org/test.html#mockrestoreall |
| mock.setter | https://beta.docs.nodejs.org/test.html#mocksetterobject-methodname-implementation-options |
| MockTimers | https://beta.docs.nodejs.org/test.html#class-mocktimers |
| timers.enable | https://beta.docs.nodejs.org/test.html#timersenableenableoptions |
| timers.reset | https://beta.docs.nodejs.org/test.html#timersreset |
| timers[Symbol.dispose] | https://beta.docs.nodejs.org/test.html#timerssymboldispose |
| timers.tick | https://beta.docs.nodejs.org/test.html#timerstickmilliseconds |
| timers.runAll | https://beta.docs.nodejs.org/test.html#timersrunall |
| timers.setTime | https://beta.docs.nodejs.org/test.html#timerssettimemilliseconds |
| TestsStream | https://beta.docs.nodejs.org/test.html#class-testsstream |
| Event lifecycle | https://beta.docs.nodejs.org/test.html#event-lifecycle |
| 'test:coverage' | https://beta.docs.nodejs.org/test.html#event-testcoverage |
| 'test:complete' | https://beta.docs.nodejs.org/test.html#event-testcomplete |
| 'test:dequeue' | https://beta.docs.nodejs.org/test.html#event-testdequeue |
| 'test:diagnostic' | https://beta.docs.nodejs.org/test.html#event-testdiagnostic |
| 'test:enqueue' | https://beta.docs.nodejs.org/test.html#event-testenqueue |
| 'test:fail' | https://beta.docs.nodejs.org/test.html#event-testfail |
| 'test:interrupted' | https://beta.docs.nodejs.org/test.html#event-testinterrupted |
| 'test:log' | https://beta.docs.nodejs.org/test.html#event-testlog |
| 'test:pass' | https://beta.docs.nodejs.org/test.html#event-testpass |
| 'test:plan' | https://beta.docs.nodejs.org/test.html#event-testplan |
| 'test:start' | https://beta.docs.nodejs.org/test.html#event-teststart |
| 'test:stderr' | https://beta.docs.nodejs.org/test.html#event-teststderr |
| 'test:stdout' | https://beta.docs.nodejs.org/test.html#event-teststdout |
| 'test:summary' | https://beta.docs.nodejs.org/test.html#event-testsummary |
| 'test:watch:drained' | https://beta.docs.nodejs.org/test.html#event-testwatchdrained |
| 'test:watch:restarted' | https://beta.docs.nodejs.org/test.html#event-testwatchrestarted |
| getTestContext | https://beta.docs.nodejs.org/test.html#gettestcontext |
| Test instrumentation and OpenTelemetry | https://beta.docs.nodejs.org/test.html#test-instrumentation-and-opentelemetry |
| Tracing events | https://beta.docs.nodejs.org/test.html#tracing-events |
| Context propagation with bindStore() | https://beta.docs.nodejs.org/test.html#context-propagation-with-bindstore |
| TestContext | https://beta.docs.nodejs.org/test.html#class-testcontext |
| context.before | https://beta.docs.nodejs.org/test.html#contextbeforefn-options |
| context.beforeEach | https://beta.docs.nodejs.org/test.html#contextbeforeeachfn-options |
| context.after | https://beta.docs.nodejs.org/test.html#contextafterfn-options |
| context.afterEach | https://beta.docs.nodejs.org/test.html#contextaftereachfn-options |
| context.assert | https://beta.docs.nodejs.org/test.html#contextassert |
| context.diagnostic | https://beta.docs.nodejs.org/test.html#contextdiagnosticmessage |
| context.log | https://beta.docs.nodejs.org/test.html#contextlogmessage-data |
| context.filePath | https://beta.docs.nodejs.org/test.html#contextfilepath |
| context.fullName | https://beta.docs.nodejs.org/test.html#contextfullname |
| context.name | https://beta.docs.nodejs.org/test.html#contextname |
| context.passed | https://beta.docs.nodejs.org/test.html#contextpassed |
| context.error | https://beta.docs.nodejs.org/test.html#contexterror |
| context.attempt | https://beta.docs.nodejs.org/test.html#contextattempt |
| context.tags | https://beta.docs.nodejs.org/test.html#contexttags |
| context.workerId | https://beta.docs.nodejs.org/test.html#contextworkerid |
| context.plan | https://beta.docs.nodejs.org/test.html#contextplancountoptions |
| context.runOnly | https://beta.docs.nodejs.org/test.html#contextrunonlyshouldrunonlytests |
| context.signal | https://beta.docs.nodejs.org/test.html#contextsignal |
| context.skip | https://beta.docs.nodejs.org/test.html#contextskipmessage |
| context.todo | https://beta.docs.nodejs.org/test.html#contexttodomessage |
| context.test | https://beta.docs.nodejs.org/test.html#contexttestname-options-fn |
| context.waitFor | https://beta.docs.nodejs.org/test.html#contextwaitforcondition-options |
| SuiteContext | https://beta.docs.nodejs.org/test.html#class-suitecontext |
| context.filePath | https://beta.docs.nodejs.org/test.html#contextfilepath-1 |
| context.fullName | https://beta.docs.nodejs.org/test.html#contextfullname-1 |
| context.name | https://beta.docs.nodejs.org/test.html#contextname-1 |
| context.signal | https://beta.docs.nodejs.org/test.html#contextsignal-1 |
| context.passed | https://beta.docs.nodejs.org/test.html#contextpassed-1 |
| context.attempt | https://beta.docs.nodejs.org/test.html#contextattempt-1 |
| context.diagnostic | https://beta.docs.nodejs.org/test.html#contextdiagnosticmessage-1 |
| context.log | https://beta.docs.nodejs.org/test.html#contextlogmessage-data-1 |
| Test runner | https://beta.docs.nodejs.org/test.html#test-runner |
| The test runner is now stable.v20.0.0 | https://github.com/nodejs/node/pull/46983 |
| lib/test.js | https://github.com/nodejs/node/blob/main/lib/test.js |
| Subtests | https://beta.docs.nodejs.org/test.html#subtests |
| Rerunning failed tests | https://beta.docs.nodejs.org/test.html#rerunning-failed-tests |
| --test-rerun-failures | https://beta.docs.nodejs.org/cli.html#--test-rerun-failures |
| describe() and it() aliases | https://beta.docs.nodejs.org/test.html#describe-and-it-aliases |
| describe() | https://beta.docs.nodejs.org/test.html#describename-options-fn |
| suite() | https://beta.docs.nodejs.org/test.html#suitename-options-fn |
| it() | https://beta.docs.nodejs.org/test.html#itname-options-fn |
| test() | https://beta.docs.nodejs.org/test.html#testname-options-fn |
| Skipping tests | https://beta.docs.nodejs.org/test.html#skipping-tests |
| TODO tests | https://beta.docs.nodejs.org/test.html#todo-tests |
| Expecting tests to fail | https://beta.docs.nodejs.org/test.html#expecting-tests-to-fail |
| RegExp | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/RegExp |
| Function | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| Error | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error |
| assert.throws | https://beta.docs.nodejs.org/assert.html#assertthrowsfn-error-message |
| only tests | https://beta.docs.nodejs.org/test.html#only-tests |
| --test-only | https://beta.docs.nodejs.org/cli.html#--test-only |
| subtests | https://beta.docs.nodejs.org/test.html#subtests |
| Filtering tests by name | https://beta.docs.nodejs.org/test.html#filtering-tests-by-name |
| --test-name-pattern | https://beta.docs.nodejs.org/cli.html#--test-name-pattern |
| --test-skip-pattern | https://beta.docs.nodejs.org/cli.html#--test-skip-pattern |
| Test tags | https://beta.docs.nodejs.org/test.html#test-tags |
| --experimental-test-tag-filter | https://beta.docs.nodejs.org/cli.html#--experimental-test-tag-filtertag |
| run() | https://beta.docs.nodejs.org/test.html#runoptions |
| Authoring tagged tests | https://beta.docs.nodejs.org/test.html#authoring-tagged-tests |
| Filtering syntax | https://beta.docs.nodejs.org/test.html#filtering-syntax |
| Operator precedence | https://beta.docs.nodejs.org/test.html#operator-precedence |
| Untagged tests | https://beta.docs.nodejs.org/test.html#untagged-tests |
| Composing multiple filters | https://beta.docs.nodejs.org/test.html#composing-multiple-filters |
| --experimental-test-tag-filter | https://beta.docs.nodejs.org/cli.html#--experimental-test-tag-filtertag |
| run() | https://beta.docs.nodejs.org/test.html#runoptions |
| --test-name-pattern | https://beta.docs.nodejs.org/cli.html#--test-name-pattern |
| --test-skip-pattern | https://beta.docs.nodejs.org/cli.html#--test-skip-pattern |
| Reading tags from inside a test | https://beta.docs.nodejs.org/test.html#reading-tags-from-inside-a-test |
| TestContext | https://beta.docs.nodejs.org/test.html#class-testcontext |
| context.tags | https://beta.docs.nodejs.org/test.html#contexttags |
| Errors | https://beta.docs.nodejs.org/test.html#errors |
| Extraneous asynchronous activity | https://beta.docs.nodejs.org/test.html#extraneous-asynchronous-activity |
| TestsStream | https://beta.docs.nodejs.org/test.html#class-testsstream |
| TestsStream | https://beta.docs.nodejs.org/test.html#class-testsstream |
| Watch mode | https://beta.docs.nodejs.org/test.html#watch-mode |
| Global setup and teardown | https://beta.docs.nodejs.org/test.html#global-setup-and-teardown |
| Running tests from the command line | https://beta.docs.nodejs.org/test.html#running-tests-from-the-command-line |
| --test | https://beta.docs.nodejs.org/cli.html#--test |
| --no-strip-types | https://beta.docs.nodejs.org/cli.html#--no-strip-types |
| glob(7) | https://man7.org/linux/man-pages/man7/glob.7.html |
| Randomizing tests execution order | https://beta.docs.nodejs.org/test.html#randomizing-tests-execution-order |
| test runner execution model | https://beta.docs.nodejs.org/test.html#test-runner-execution-model |
| Test runner execution model | https://beta.docs.nodejs.org/test.html#test-runner-execution-model |
| --test-concurrency | https://beta.docs.nodejs.org/cli.html#--test-concurrency |
| test() | https://beta.docs.nodejs.org/test.html#testname-options-fn |
| Child process option inheritance | https://beta.docs.nodejs.org/test.html#child-process-option-inheritance |
| configuration files | https://beta.docs.nodejs.org/cli.html#--config-filepath---config-file |
| Collecting code coverage | https://beta.docs.nodejs.org/test.html#collecting-code-coverage |
| --experimental-test-coverage | https://beta.docs.nodejs.org/cli.html#--experimental-test-coverage |
| NODE_V8_COVERAGE | https://beta.docs.nodejs.org/cli.html#node_v8_coveragedir |
| --test-coverage-include | https://beta.docs.nodejs.org/cli.html#--test-coverage-include |
| --test-coverage-exclude | https://beta.docs.nodejs.org/cli.html#--test-coverage-exclude |
| test reporters | https://beta.docs.nodejs.org/test.html#test-reporters |
| Coverage reporters | https://beta.docs.nodejs.org/test.html#coverage-reporters |
| Mocking | https://beta.docs.nodejs.org/test.html#mocking |
| TestContext | https://beta.docs.nodejs.org/test.html#class-testcontext |
| Timers | https://beta.docs.nodejs.org/test.html#timers |
| MockTimers | https://beta.docs.nodejs.org/test.html#class-mocktimers |
| node:timers | https://beta.docs.nodejs.org/timers.html |
| node:timers/promises | https://beta.docs.nodejs.org/timers.html#timers-promises-api |
| TestContext | https://beta.docs.nodejs.org/test.html#class-testcontext |
| Dates | https://beta.docs.nodejs.org/test.html#dates |
| MockTimers | https://beta.docs.nodejs.org/test.html#class-mocktimers |
| Snapshot testing | https://beta.docs.nodejs.org/test.html#snapshot-testing |
| Snapshot testing is no longer experimental.v23.4.0 | https://github.com/nodejs/node/pull/55897 |
| --test-update-snapshots | https://beta.docs.nodejs.org/cli.html#--test-update-snapshots |
| Test reporters | https://beta.docs.nodejs.org/test.html#test-reporters |
| The default reporter on non-TTY stdout is changed from tap to spec, aligning with TTY stdout.v23.0.0 | https://github.com/nodejs/node/pull/54548 |
| Reporters are now exposed at node:test/reporters.v19.9.0, v18.17.0 | https://github.com/nodejs/node/pull/47238 |
| --test-reporter | https://beta.docs.nodejs.org/cli.html#--test-reporter |
| TAP | https://testanything.org/ |
| --experimental-test-coverage | https://beta.docs.nodejs.org/cli.html#--experimental-test-coverage |
| TestsStream | https://beta.docs.nodejs.org/test.html#class-testsstream |
| Custom reporters | https://beta.docs.nodejs.org/test.html#custom-reporters |
| --test-reporter | https://beta.docs.nodejs.org/cli.html#--test-reporter |
| stream.compose | https://beta.docs.nodejs.org/stream.html#streamcomposestreams |
| TestsStream | https://beta.docs.nodejs.org/test.html#class-testsstream |
| stream.Transform | https://beta.docs.nodejs.org/stream.html#class-streamtransform |
| --import | https://beta.docs.nodejs.org/cli.html#--importmodule |
| Multiple reporters | https://beta.docs.nodejs.org/test.html#multiple-reporters |
| --test-reporter | https://beta.docs.nodejs.org/cli.html#--test-reporter |
| --test-reporter-destination | https://beta.docs.nodejs.org/cli.html#--test-reporter-destination |
| run | https://beta.docs.nodejs.org/test.html#runoptions |
| Added the testTagFilters option.v26.2.0 | https://github.com/nodejs/node/pull/63221 |
| Add the env option.v25.6.0, v24.14.0 | https://github.com/nodejs/node/pull/61367 |
| Added a rerunFailuresFilePath option.v24.7.0 | https://github.com/nodejs/node/pull/59443 |
| Added the cwd option.v23.0.0 | https://github.com/nodejs/node/pull/54705 |
| Added coverage options.v23.0.0, v22.10.0 | https://github.com/nodejs/node/pull/53937 |
| Added the isolation option.v22.8.0 | https://github.com/nodejs/node/pull/53927 |
| Added the globPatterns option.v22.6.0 | https://github.com/nodejs/node/pull/53866 |
| Added the forceExit option.v22.0.0, v20.14.0 | https://github.com/nodejs/node/pull/52038 |
| Add a testNamePatterns option.v20.1.0, v18.17.0 | https://github.com/nodejs/node/pull/47628 |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| boolean | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| running tests from the command line | https://beta.docs.nodejs.org/test.html#running-tests-from-the-command-line |
| Array | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array |
| running tests from the command line | https://beta.docs.nodejs.org/test.html#running-tests-from-the-command-line |
| boolean | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type |
| Array | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array |
| running tests from the command line | https://beta.docs.nodejs.org/test.html#running-tests-from-the-command-line |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| Function | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| boolean | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type |
| Function | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function |
| Array | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array |
| Array | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array |
| AbortSignal | https://beta.docs.nodejs.org/globals.html#class-abortsignal |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| RegExp | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/RegExp |
| Array | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| RegExp | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/RegExp |
| Array | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| --experimental-test-tag-filter | https://beta.docs.nodejs.org/cli.html#--experimental-test-tag-filtertag |
| Test tags | https://beta.docs.nodejs.org/test.html#test-tags |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| boolean | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| boolean | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| boolean | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type |
| code coverage | https://beta.docs.nodejs.org/test.html#collecting-code-coverage |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| Array | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| Array | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array |
| boolean | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| TestsStream | https://beta.docs.nodejs.org/test.html#class-testsstream |
| suite | https://beta.docs.nodejs.org/test.html#suitename-options-fn |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| Function | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function |
| AsyncFunction | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/AsyncFunction |
| SuiteContext | https://beta.docs.nodejs.org/test.html#class-suitecontext |
| Promise | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise |
| suite.skip | https://beta.docs.nodejs.org/test.html#suiteskipname-options-fn |
| suite([name], { skip: true }[, fn]) | https://beta.docs.nodejs.org/test.html#suitename-options-fn |
| suite.todo | https://beta.docs.nodejs.org/test.html#suitetodoname-options-fn |
| suite([name], { todo: true }[, fn]) | https://beta.docs.nodejs.org/test.html#suitename-options-fn |
| suite.only | https://beta.docs.nodejs.org/test.html#suiteonlyname-options-fn |
| suite([name], { only: true }[, fn]) | https://beta.docs.nodejs.org/test.html#suitename-options-fn |
| test | https://beta.docs.nodejs.org/test.html#testname-options-fn |
| Added the tags option.v26.2.0 | https://github.com/nodejs/node/pull/63221 |
| Added the skip, todo, and only shorthands.v20.2.0, v18.17.0 | https://github.com/nodejs/node/pull/47909 |
| Add a signal option.v18.8.0, v16.18.0 | https://github.com/nodejs/node/pull/43554 |
| Add a timeout option.v18.7.0, v16.17.0 | https://github.com/nodejs/node/pull/43505 |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| boolean | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type |
| boolean | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| RegExp | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/RegExp |
| Function | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| Error | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error |
| RegExp | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/RegExp |
| Function | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| Error | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error |
| assert.throws | https://beta.docs.nodejs.org/assert.html#assertthrowsfn-error-message |
| boolean | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type |
| AbortSignal | https://beta.docs.nodejs.org/globals.html#class-abortsignal |
| boolean | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| --experimental-test-tag-filter | https://beta.docs.nodejs.org/cli.html#--experimental-test-tag-filtertag |
| Test tags | https://beta.docs.nodejs.org/test.html#test-tags |
| boolean | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| Function | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function |
| AsyncFunction | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/AsyncFunction |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| Function | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function |
| AsyncFunction | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/AsyncFunction |
| TestContext | https://beta.docs.nodejs.org/test.html#class-testcontext |
| Promise | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise |
| TestsStream | https://beta.docs.nodejs.org/test.html#class-testsstream |
| test.skip | https://beta.docs.nodejs.org/test.html#testskipname-options-fn |
| test([name], { skip: true }[, fn]) | https://beta.docs.nodejs.org/test.html#testname-options-fn |
| test.todo | https://beta.docs.nodejs.org/test.html#testtodoname-options-fn |
| test([name], { todo: true }[, fn]) | https://beta.docs.nodejs.org/test.html#testname-options-fn |
| test.only | https://beta.docs.nodejs.org/test.html#testonlyname-options-fn |
| test([name], { only: true }[, fn]) | https://beta.docs.nodejs.org/test.html#testname-options-fn |
| describe | https://beta.docs.nodejs.org/test.html#describename-options-fn |
| suite() | https://beta.docs.nodejs.org/test.html#suitename-options-fn |
| describe.skip | https://beta.docs.nodejs.org/test.html#describeskipname-options-fn |
| describe([name], { skip: true }[, fn]) | https://beta.docs.nodejs.org/test.html#describename-options-fn |
| describe.todo | https://beta.docs.nodejs.org/test.html#describetodoname-options-fn |
| describe([name], { todo: true }[, fn]) | https://beta.docs.nodejs.org/test.html#describename-options-fn |
| describe.only | https://beta.docs.nodejs.org/test.html#describeonlyname-options-fn |
| describe([name], { only: true }[, fn]) | https://beta.docs.nodejs.org/test.html#describename-options-fn |
| it | https://beta.docs.nodejs.org/test.html#itname-options-fn |
| Calling it() is now equivalent to calling test().v19.8.0, v18.16.0 | https://github.com/nodejs/node/pull/46889 |
| test() | https://beta.docs.nodejs.org/test.html#testname-options-fn |
| it.skip | https://beta.docs.nodejs.org/test.html#itskipname-options-fn |
| it([name], { skip: true }[, fn]) | https://beta.docs.nodejs.org/test.html#testname-options-fn |
| it.todo | https://beta.docs.nodejs.org/test.html#ittodoname-options-fn |
| it([name], { todo: true }[, fn]) | https://beta.docs.nodejs.org/test.html#testname-options-fn |
| it.only | https://beta.docs.nodejs.org/test.html#itonlyname-options-fn |
| it([name], { only: true }[, fn]) | https://beta.docs.nodejs.org/test.html#testname-options-fn |
| before | https://beta.docs.nodejs.org/test.html#beforefn-options |
| Function | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function |
| AsyncFunction | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/AsyncFunction |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| AbortSignal | https://beta.docs.nodejs.org/globals.html#class-abortsignal |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| after | https://beta.docs.nodejs.org/test.html#afterfn-options |
| Function | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function |
| AsyncFunction | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/AsyncFunction |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| AbortSignal | https://beta.docs.nodejs.org/globals.html#class-abortsignal |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| beforeEach | https://beta.docs.nodejs.org/test.html#beforeeachfn-options |
| Function | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function |
| AsyncFunction | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/AsyncFunction |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| AbortSignal | https://beta.docs.nodejs.org/globals.html#class-abortsignal |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| afterEach | https://beta.docs.nodejs.org/test.html#aftereachfn-options |
| Function | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function |
| AsyncFunction | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/AsyncFunction |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| AbortSignal | https://beta.docs.nodejs.org/globals.html#class-abortsignal |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| assert | https://beta.docs.nodejs.org/test.html#assert |
| assert.register | https://beta.docs.nodejs.org/test.html#assertregistername-fn |
| snapshot | https://beta.docs.nodejs.org/test.html#snapshot |
| snapshot.setDefaultSnapshotSerializers | https://beta.docs.nodejs.org/test.html#snapshotsetdefaultsnapshotserializersserializers |
| Array | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array |
| snapshot.setResolveSnapshotPath | https://beta.docs.nodejs.org/test.html#snapshotsetresolvesnapshotpathfn |
| Function | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function |
| MockFunctionContext | https://beta.docs.nodejs.org/test.html#class-mockfunctioncontext |
| MockTracker | https://beta.docs.nodejs.org/test.html#class-mocktracker |
| ctx.calls | https://beta.docs.nodejs.org/test.html#ctxcalls |
| Array | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array |
| Array | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array |
| any | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Data_types |
| any | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Data_types |
| Error | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error |
| Function | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function |
| undefined | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type |
| any | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Data_types |
| ctx.callCount | https://beta.docs.nodejs.org/test.html#ctxcallcount |
| integer | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| ctx.mockImplementation | https://beta.docs.nodejs.org/test.html#ctxmockimplementationimplementation |
| Function | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function |
| AsyncFunction | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/AsyncFunction |
| ctx.mockImplementationOnce | https://beta.docs.nodejs.org/test.html#ctxmockimplementationonceimplementation-oncall |
| Function | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function |
| AsyncFunction | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/AsyncFunction |
| integer | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| ctx.resetCalls | https://beta.docs.nodejs.org/test.html#ctxresetcalls |
| ctx.restore | https://beta.docs.nodejs.org/test.html#ctxrestore |
| MockModuleContext | https://beta.docs.nodejs.org/test.html#class-mockmodulecontext |
| MockTracker | https://beta.docs.nodejs.org/test.html#class-mocktracker |
| ctx.restore | https://beta.docs.nodejs.org/test.html#ctxrestore-1 |
| MockPropertyContext | https://beta.docs.nodejs.org/test.html#class-mockpropertycontext |
| MockTracker | https://beta.docs.nodejs.org/test.html#class-mocktracker |
| ctx.accesses | https://beta.docs.nodejs.org/test.html#ctxaccesses |
| Array | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| any | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Data_types |
| Error | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error |
| ctx.accessCount | https://beta.docs.nodejs.org/test.html#ctxaccesscount |
| integer | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| ctx.mockImplementation | https://beta.docs.nodejs.org/test.html#ctxmockimplementationvalue |
| any | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Data_types |
| ctx.mockImplementationOnce | https://beta.docs.nodejs.org/test.html#ctxmockimplementationoncevalue-onaccess |
| any | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Data_types |
| integer | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| Caveat | https://beta.docs.nodejs.org/test.html#caveat |
| ctx.resetAccesses | https://beta.docs.nodejs.org/test.html#ctxresetaccesses |
| ctx.restore | https://beta.docs.nodejs.org/test.html#ctxrestore-2 |
| MockTracker | https://beta.docs.nodejs.org/test.html#class-mocktracker |
| mock.fn | https://beta.docs.nodejs.org/test.html#mockfnoriginal-implementation-options |
| Function | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function |
| AsyncFunction | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/AsyncFunction |
| Function | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function |
| AsyncFunction | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/AsyncFunction |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| integer | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| Proxy | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Proxy |
| MockFunctionContext | https://beta.docs.nodejs.org/test.html#class-mockfunctioncontext |
| mock.getter | https://beta.docs.nodejs.org/test.html#mockgetterobject-methodname-implementation-options |
| MockTracker.method | https://beta.docs.nodejs.org/test.html#mockmethodobject-methodname-implementation-options |
| mock.method | https://beta.docs.nodejs.org/test.html#mockmethodobject-methodname-implementation-options |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| symbol | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#symbol_type |
| Function | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function |
| AsyncFunction | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/AsyncFunction |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| boolean | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type |
| boolean | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type |
| integer | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| Proxy | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Proxy |
| MockFunctionContext | https://beta.docs.nodejs.org/test.html#class-mockfunctioncontext |
| mock.module | https://beta.docs.nodejs.org/test.html#mockmodulespecifier-options |
| Support JSON modules.v24.0.0, v22.17.0 | https://github.com/nodejs/node/pull/58007 |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| URL | https://beta.docs.nodejs.org/url.html#the-whatwg-url-api |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| boolean | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| any | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Data_types |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| MockModuleContext | https://beta.docs.nodejs.org/test.html#class-mockmodulecontext |
| --experimental-test-module-mocks | https://beta.docs.nodejs.org/cli.html#--experimental-test-module-mocks |
| module customization hooks | https://beta.docs.nodejs.org/module.html#customization-hooks |
| mock.property | https://beta.docs.nodejs.org/test.html#mockpropertyobject-propertyname-value |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| symbol | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#symbol_type |
| any | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Data_types |
| Proxy | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Proxy |
| MockPropertyContext | https://beta.docs.nodejs.org/test.html#class-mockpropertycontext |
| mock.reset | https://beta.docs.nodejs.org/test.html#mockreset |
| mock.restoreAll | https://beta.docs.nodejs.org/test.html#mockrestoreall |
| mock.setter | https://beta.docs.nodejs.org/test.html#mocksetterobject-methodname-implementation-options |
| MockTracker.method | https://beta.docs.nodejs.org/test.html#mockmethodobject-methodname-implementation-options |
| MockTimers | https://beta.docs.nodejs.org/test.html#class-mocktimers |
| The Mock Timers is now stable.v23.1.0 | https://github.com/nodejs/node/pull/55398 |
| MockTracker | https://beta.docs.nodejs.org/test.html#class-mocktracker |
| timers.enable | https://beta.docs.nodejs.org/test.html#timersenableenableoptions |
| Updated parameters to be an option object with available APIs and the default initial epoch.v21.2.0, v20.11.0 | https://github.com/nodejs/node/pull/48638 |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| Array | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| Date | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Date |
| node:timers | https://beta.docs.nodejs.org/timers.html |
| node:timers/promises | https://beta.docs.nodejs.org/timers.html#timers-promises-api |
| timers.reset | https://beta.docs.nodejs.org/test.html#timersreset |
| timers[Symbol.dispose] | https://beta.docs.nodejs.org/test.html#timerssymboldispose |
| timers.tick | https://beta.docs.nodejs.org/test.html#timerstickmilliseconds |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| Using clear functions | https://beta.docs.nodejs.org/test.html#using-clear-functions |
| Working with Node.js timers modules | https://beta.docs.nodejs.org/test.html#working-with-nodejs-timers-modules |
| node:timers | https://beta.docs.nodejs.org/timers.html |
| node:timers/promises | https://beta.docs.nodejs.org/timers.html#timers-promises-api |
| node:timers/promises | https://beta.docs.nodejs.org/timers.html#timers-promises-api |
| timers.runAll | https://beta.docs.nodejs.org/test.html#timersrunall |
| timers.setTime | https://beta.docs.nodejs.org/test.html#timerssettimemilliseconds |
| Dates and Timers working together | https://beta.docs.nodejs.org/test.html#dates-and-timers-working-together |
| TestsStream | https://beta.docs.nodejs.org/test.html#class-testsstream |
| Added entryFile to events forwarded from child processes when tests run with process isolation.v26.6.0 | https://github.com/nodejs/node/pull/64309 |
| Added parentId to test events that carry a testId.v26.3.0 | https://github.com/nodejs/node/pull/63435 |
| added type to test:pass and test:fail events for when the test is a suite.v20.0.0, v19.9.0, v18.17.0 | https://github.com/nodejs/node/pull/47094 |
| run() | https://beta.docs.nodejs.org/test.html#runoptions |
| TestsStream | https://beta.docs.nodejs.org/test.html#class-testsstream |
| 'test:start' | https://beta.docs.nodejs.org/test.html#event-teststart |
| 'test:enqueue' | https://beta.docs.nodejs.org/test.html#event-testenqueue |
| 'test:dequeue' | https://beta.docs.nodejs.org/test.html#event-testdequeue |
| 'test:pass' | https://beta.docs.nodejs.org/test.html#event-testpass |
| 'test:complete' | https://beta.docs.nodejs.org/test.html#event-testcomplete |
| 'test:fail' | https://beta.docs.nodejs.org/test.html#event-testfail |
| 'test:complete' | https://beta.docs.nodejs.org/test.html#event-testcomplete |
| 'test:plan' | https://beta.docs.nodejs.org/test.html#event-testplan |
| 'test:diagnostic' | https://beta.docs.nodejs.org/test.html#event-testdiagnostic |
| 'test:log' | https://beta.docs.nodejs.org/test.html#event-testlog |
| 'test:log' | https://beta.docs.nodejs.org/test.html#event-testlog |
| 'test:diagnostic' | https://beta.docs.nodejs.org/test.html#event-testdiagnostic |
| 'test:stderr' | https://beta.docs.nodejs.org/test.html#event-teststderr |
| 'test:stdout' | https://beta.docs.nodejs.org/test.html#event-teststdout |
| 'test:summary' | https://beta.docs.nodejs.org/test.html#event-testsummary |
| 'test:summary' | https://beta.docs.nodejs.org/test.html#event-testsummary |
| 'test:coverage' | https://beta.docs.nodejs.org/test.html#event-testcoverage |
| 'test:interrupted' | https://beta.docs.nodejs.org/test.html#event-testinterrupted |
| 'test:watch:drained' | https://beta.docs.nodejs.org/test.html#event-testwatchdrained |
| 'test:watch:restarted' | https://beta.docs.nodejs.org/test.html#event-testwatchrestarted |
| 'test:plan' | https://beta.docs.nodejs.org/test.html#event-testplan |
| 'test:diagnostic' | https://beta.docs.nodejs.org/test.html#event-testdiagnostic |
| Event lifecycle | https://beta.docs.nodejs.org/test.html#event-lifecycle |
| 'test:start' | https://beta.docs.nodejs.org/test.html#event-teststart |
| 'test:dequeue' | https://beta.docs.nodejs.org/test.html#event-testdequeue |
| test:coverage | https://beta.docs.nodejs.org/test.html#event-testcoverage |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| Array | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| Array | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| Array | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| Array | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| test:complete | https://beta.docs.nodejs.org/test.html#event-testcomplete |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| undefined | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| boolean | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| Error | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error |
| undefined | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type |
| Error | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| undefined | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| undefined | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| undefined | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| undefined | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| undefined | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| Test tags | https://beta.docs.nodejs.org/test.html#test-tags |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| boolean | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type |
| undefined | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type |
| context.todo | https://beta.docs.nodejs.org/test.html#contexttodomessage |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| boolean | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type |
| undefined | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type |
| context.skip | https://beta.docs.nodejs.org/test.html#contextskipmessage |
| test:dequeue | https://beta.docs.nodejs.org/test.html#event-testdequeue |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| undefined | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| undefined | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| undefined | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| undefined | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| undefined | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| Test tags | https://beta.docs.nodejs.org/test.html#test-tags |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| test:diagnostic | https://beta.docs.nodejs.org/test.html#event-testdiagnostic |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| undefined | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| undefined | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| undefined | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| undefined | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| context.diagnostic | https://beta.docs.nodejs.org/test.html#contextdiagnosticmessage |
| test:enqueue | https://beta.docs.nodejs.org/test.html#event-testenqueue |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| undefined | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| undefined | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| undefined | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| undefined | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| undefined | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| Test tags | https://beta.docs.nodejs.org/test.html#test-tags |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| test:fail | https://beta.docs.nodejs.org/test.html#event-testfail |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| undefined | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| Error | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error |
| Error | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| undefined | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| undefined | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type |
| --test-rerun-failures | https://beta.docs.nodejs.org/cli.html#--test-rerun-failures |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| undefined | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| undefined | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| undefined | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| undefined | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| Test tags | https://beta.docs.nodejs.org/test.html#test-tags |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| boolean | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type |
| undefined | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type |
| context.todo | https://beta.docs.nodejs.org/test.html#contexttodomessage |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| boolean | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type |
| undefined | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type |
| context.skip | https://beta.docs.nodejs.org/test.html#contextskipmessage |
| test:interrupted | https://beta.docs.nodejs.org/test.html#event-testinterrupted |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| Array | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| undefined | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| undefined | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| undefined | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| test:log | https://beta.docs.nodejs.org/test.html#event-testlog |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| undefined | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type |
| any | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Data_types |
| context.log | https://beta.docs.nodejs.org/test.html#contextlogmessage-data |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| undefined | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| undefined | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| undefined | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| undefined | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| context.log | https://beta.docs.nodejs.org/test.html#contextlogmessage-data |
| 'test:diagnostic' | https://beta.docs.nodejs.org/test.html#event-testdiagnostic |
| test:pass | https://beta.docs.nodejs.org/test.html#event-testpass |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| undefined | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| undefined | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| undefined | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type |
| --test-rerun-failures | https://beta.docs.nodejs.org/cli.html#--test-rerun-failures |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| undefined | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type |
| --test-rerun-failures | https://beta.docs.nodejs.org/cli.html#--test-rerun-failures |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| undefined | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| undefined | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| undefined | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| undefined | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| Test tags | https://beta.docs.nodejs.org/test.html#test-tags |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| boolean | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type |
| undefined | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type |
| context.todo | https://beta.docs.nodejs.org/test.html#contexttodomessage |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| boolean | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type |
| undefined | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type |
| context.skip | https://beta.docs.nodejs.org/test.html#contextskipmessage |
| test:plan | https://beta.docs.nodejs.org/test.html#event-testplan |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| undefined | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| undefined | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| undefined | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| undefined | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| test:start | https://beta.docs.nodejs.org/test.html#event-teststart |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| undefined | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| undefined | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| undefined | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| undefined | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| undefined | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| Test tags | https://beta.docs.nodejs.org/test.html#test-tags |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| test:stderr | https://beta.docs.nodejs.org/test.html#event-teststderr |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| undefined | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| test:stdout | https://beta.docs.nodejs.org/test.html#event-teststdout |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| undefined | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| test:summary | https://beta.docs.nodejs.org/test.html#event-testsummary |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| undefined | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type |
| boolean | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type |
| test:watch:drained | https://beta.docs.nodejs.org/test.html#event-testwatchdrained |
| test:watch:restarted | https://beta.docs.nodejs.org/test.html#event-testwatchrestarted |
| getTestContext | https://beta.docs.nodejs.org/test.html#gettestcontext |
| TestContext | https://beta.docs.nodejs.org/test.html#class-testcontext |
| SuiteContext | https://beta.docs.nodejs.org/test.html#class-suitecontext |
| undefined | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type |
| TestContext | https://beta.docs.nodejs.org/test.html#class-testcontext |
| SuiteContext | https://beta.docs.nodejs.org/test.html#class-suitecontext |
| TestContext | https://beta.docs.nodejs.org/test.html#class-testcontext |
| SuiteContext | https://beta.docs.nodejs.org/test.html#class-suitecontext |
| Test instrumentation and OpenTelemetry | https://beta.docs.nodejs.org/test.html#test-instrumentation-and-opentelemetry |
| diagnostics_channel | https://beta.docs.nodejs.org/diagnostics_channel.html |
| Tracing events | https://beta.docs.nodejs.org/test.html#tracing-events |
| TracingChannel | https://beta.docs.nodejs.org/diagnostics_channel.html#class-tracingchannel |
| Channel: 'tracing:node.test:start' | https://beta.docs.nodejs.org/test.html#channel-tracingnodeteststart |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| undefined | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| Channel: 'tracing:node.test:end' | https://beta.docs.nodejs.org/test.html#channel-tracingnodetestend |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| undefined | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| Channel: 'tracing:node.test:error' | https://beta.docs.nodejs.org/test.html#channel-tracingnodetesterror |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| undefined | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| Error | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error |
| Context propagation with bindStore() | https://beta.docs.nodejs.org/test.html#context-propagation-with-bindstore |
| TestContext | https://beta.docs.nodejs.org/test.html#class-testcontext |
| The before function was added to TestContext.v20.1.0, v18.17.0 | https://github.com/nodejs/node/pull/47586 |
| context.before | https://beta.docs.nodejs.org/test.html#contextbeforefn-options |
| Function | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function |
| AsyncFunction | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/AsyncFunction |
| TestContext | https://beta.docs.nodejs.org/test.html#class-testcontext |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| AbortSignal | https://beta.docs.nodejs.org/globals.html#class-abortsignal |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| context.beforeEach | https://beta.docs.nodejs.org/test.html#contextbeforeeachfn-options |
| Function | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function |
| AsyncFunction | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/AsyncFunction |
| TestContext | https://beta.docs.nodejs.org/test.html#class-testcontext |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| AbortSignal | https://beta.docs.nodejs.org/globals.html#class-abortsignal |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| context.after | https://beta.docs.nodejs.org/test.html#contextafterfn-options |
| Function | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function |
| AsyncFunction | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/AsyncFunction |
| TestContext | https://beta.docs.nodejs.org/test.html#class-testcontext |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| AbortSignal | https://beta.docs.nodejs.org/globals.html#class-abortsignal |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| context.afterEach | https://beta.docs.nodejs.org/test.html#contextaftereachfn-options |
| Function | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function |
| AsyncFunction | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/AsyncFunction |
| TestContext | https://beta.docs.nodejs.org/test.html#class-testcontext |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| AbortSignal | https://beta.docs.nodejs.org/globals.html#class-abortsignal |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| context.assert | https://beta.docs.nodejs.org/test.html#contextassert |
| context.assert.callCount | https://beta.docs.nodejs.org/test.html#contextassertcallcountfn-times-message |
| Function | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function |
| integer | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| context.assert.called | https://beta.docs.nodejs.org/test.html#contextassertcalledfn-message |
| Function | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| context.assert.fileSnapshot | https://beta.docs.nodejs.org/test.html#contextassertfilesnapshotvalue-path-options |
| any | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Data_types |
| --test-update-snapshots | https://beta.docs.nodejs.org/cli.html#--test-update-snapshots |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| Array | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array |
| context.assert.lastCalledWith | https://beta.docs.nodejs.org/test.html#contextassertlastcalledwithfn-args |
| Function | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function |
| any | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Data_types |
| assert.deepStrictEqual() | https://beta.docs.nodejs.org/assert.html#assertdeepstrictequalactual-expected-message |
| context.assert.nthCalledWith | https://beta.docs.nodejs.org/test.html#contextassertnthcalledwithfn-n-args |
| Function | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function |
| integer | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| any | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Data_types |
| assert.deepStrictEqual() | https://beta.docs.nodejs.org/assert.html#assertdeepstrictequalactual-expected-message |
| context.assert.snapshot | https://beta.docs.nodejs.org/test.html#contextassertsnapshotvalue-options |
| any | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Data_types |
| --test-update-snapshots | https://beta.docs.nodejs.org/cli.html#--test-update-snapshots |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| Array | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array |
| context.diagnostic | https://beta.docs.nodejs.org/test.html#contextdiagnosticmessage |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| context.log | https://beta.docs.nodejs.org/test.html#contextlogmessage-data |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| any | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Data_types |
| HTML structured clone algorithm | https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Structured_clone_algorithm |
| context.diagnostic | https://beta.docs.nodejs.org/test.html#contextdiagnosticmessage |
| 'test:log' | https://beta.docs.nodejs.org/test.html#event-testlog |
| context.filePath | https://beta.docs.nodejs.org/test.html#contextfilepath |
| context.fullName | https://beta.docs.nodejs.org/test.html#contextfullname |
| context.name | https://beta.docs.nodejs.org/test.html#contextname |
| context.passed | https://beta.docs.nodejs.org/test.html#contextpassed |
| boolean | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type |
| context.error | https://beta.docs.nodejs.org/test.html#contexterror |
| Error | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error |
| null | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#null_type |
| context.attempt | https://beta.docs.nodejs.org/test.html#contextattempt |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| context.tags | https://beta.docs.nodejs.org/test.html#contexttags |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| Test tags | https://beta.docs.nodejs.org/test.html#test-tags |
| context.workerId | https://beta.docs.nodejs.org/test.html#contextworkerid |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| undefined | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type |
| context.plan | https://beta.docs.nodejs.org/test.html#contextplancountoptions |
| Add the options parameter.v23.9.0, v22.15.0 | https://github.com/nodejs/node/pull/56765 |
| This function is no longer experimental.v23.4.0, v22.13.0 | https://github.com/nodejs/node/pull/55895 |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| boolean | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| context.runOnly | https://beta.docs.nodejs.org/test.html#contextrunonlyshouldrunonlytests |
| boolean | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type |
| --test-only | https://beta.docs.nodejs.org/cli.html#--test-only |
| context.signal | https://beta.docs.nodejs.org/test.html#contextsignal |
| AbortSignal | https://beta.docs.nodejs.org/globals.html#class-abortsignal |
| context.skip | https://beta.docs.nodejs.org/test.html#contextskipmessage |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| context.todo | https://beta.docs.nodejs.org/test.html#contexttodomessage |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| context.test | https://beta.docs.nodejs.org/test.html#contexttestname-options-fn |
| Added the tags option.v26.2.0 | https://github.com/nodejs/node/pull/63221 |
| Add a signal option.v18.8.0, v16.18.0 | https://github.com/nodejs/node/pull/43554 |
| Add a timeout option.v18.7.0, v16.17.0 | https://github.com/nodejs/node/pull/43505 |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| boolean | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type |
| null | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#null_type |
| boolean | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type |
| AbortSignal | https://beta.docs.nodejs.org/globals.html#class-abortsignal |
| boolean | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| --experimental-test-tag-filter | https://beta.docs.nodejs.org/cli.html#--experimental-test-tag-filtertag |
| Test tags | https://beta.docs.nodejs.org/test.html#test-tags |
| boolean | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| Function | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function |
| AsyncFunction | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/AsyncFunction |
| TestContext | https://beta.docs.nodejs.org/test.html#class-testcontext |
| Promise | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise |
| test() | https://beta.docs.nodejs.org/test.html#testname-options-fn |
| context.waitFor | https://beta.docs.nodejs.org/test.html#contextwaitforcondition-options |
| Function | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function |
| AsyncFunction | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/AsyncFunction |
| Object | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| Promise | https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise |
| SuiteContext | https://beta.docs.nodejs.org/test.html#class-suitecontext |
| context.filePath | https://beta.docs.nodejs.org/test.html#contextfilepath-1 |
| context.fullName | https://beta.docs.nodejs.org/test.html#contextfullname-1 |
| context.name | https://beta.docs.nodejs.org/test.html#contextname-1 |
| context.signal | https://beta.docs.nodejs.org/test.html#contextsignal-1 |
| AbortSignal | https://beta.docs.nodejs.org/globals.html#class-abortsignal |
| context.passed | https://beta.docs.nodejs.org/test.html#contextpassed-1 |
| boolean | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type |
| context.attempt | https://beta.docs.nodejs.org/test.html#contextattempt-1 |
| number | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type |
| context.diagnostic | https://beta.docs.nodejs.org/test.html#contextdiagnosticmessage-1 |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| context.log | https://beta.docs.nodejs.org/test.html#contextlogmessage-data-1 |
| string | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type |
| any | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Data_types |
| 'test:log' | https://beta.docs.nodejs.org/test.html#event-testlog |
| Nextrun | https://beta.docs.nodejs.org/test/run.html |
| JSON | https://beta.docs.nodejs.org/test.json |
| MD | https://beta.docs.nodejs.org/test.md |
| Edit this page | https://github.com/nodejs/node/edit/HEAD/doc/api/test.md |
| Subtests | https://beta.docs.nodejs.org/test.html#subtests |
| Rerunning failed tests | https://beta.docs.nodejs.org/test.html#rerunning-failed-tests |
| describe() and it() aliases | https://beta.docs.nodejs.org/test.html#describe-and-it-aliases |
| Skipping tests | https://beta.docs.nodejs.org/test.html#skipping-tests |
| TODO tests | https://beta.docs.nodejs.org/test.html#todo-tests |
| Expecting tests to fail | https://beta.docs.nodejs.org/test.html#expecting-tests-to-fail |
| only tests | https://beta.docs.nodejs.org/test.html#only-tests |
| Filtering tests by name | https://beta.docs.nodejs.org/test.html#filtering-tests-by-name |
| Test tagsE | https://beta.docs.nodejs.org/test.html#test-tags |
| Authoring tagged tests | https://beta.docs.nodejs.org/test.html#authoring-tagged-tests |
| Filtering syntax | https://beta.docs.nodejs.org/test.html#filtering-syntax |
| Extraneous asynchronous activity | https://beta.docs.nodejs.org/test.html#extraneous-asynchronous-activity |
| Watch modeE | https://beta.docs.nodejs.org/test.html#watch-mode |
| Global setup and teardownE | https://beta.docs.nodejs.org/test.html#global-setup-and-teardown |
| Running tests from the command line | https://beta.docs.nodejs.org/test.html#running-tests-from-the-command-line |
| Randomizing tests execution orderE | https://beta.docs.nodejs.org/test.html#randomizing-tests-execution-order |
| Test runner execution model | https://beta.docs.nodejs.org/test.html#test-runner-execution-model |
| Collecting code coverageE | https://beta.docs.nodejs.org/test.html#collecting-code-coverage |
| Coverage reporters | https://beta.docs.nodejs.org/test.html#coverage-reporters |
| Mocking | https://beta.docs.nodejs.org/test.html#mocking |
| Timers | https://beta.docs.nodejs.org/test.html#timers |
| Dates | https://beta.docs.nodejs.org/test.html#dates |
| Snapshot testing | https://beta.docs.nodejs.org/test.html#snapshot-testing |
| Test reporters | https://beta.docs.nodejs.org/test.html#test-reporters |
| Custom reporters | https://beta.docs.nodejs.org/test.html#custom-reporters |
| Multiple reporters | https://beta.docs.nodejs.org/test.html#multiple-reporters |
| run | https://beta.docs.nodejs.org/test.html#runoptions |
| suite | https://beta.docs.nodejs.org/test.html#suitename-options-fn |
| suite.skip | https://beta.docs.nodejs.org/test.html#suiteskipname-options-fn |
| suite.todo | https://beta.docs.nodejs.org/test.html#suitetodoname-options-fn |
| suite.only | https://beta.docs.nodejs.org/test.html#suiteonlyname-options-fn |
| test | https://beta.docs.nodejs.org/test.html#testname-options-fn |
| test.skip | https://beta.docs.nodejs.org/test.html#testskipname-options-fn |
| test.todo | https://beta.docs.nodejs.org/test.html#testtodoname-options-fn |
| test.only | https://beta.docs.nodejs.org/test.html#testonlyname-options-fn |
| describe | https://beta.docs.nodejs.org/test.html#describename-options-fn |
| describe.skip | https://beta.docs.nodejs.org/test.html#describeskipname-options-fn |
| describe.todo | https://beta.docs.nodejs.org/test.html#describetodoname-options-fn |
| describe.only | https://beta.docs.nodejs.org/test.html#describeonlyname-options-fn |
| it | https://beta.docs.nodejs.org/test.html#itname-options-fn |
| it.skip | https://beta.docs.nodejs.org/test.html#itskipname-options-fn |
| it.todo | https://beta.docs.nodejs.org/test.html#ittodoname-options-fn |
| it.only | https://beta.docs.nodejs.org/test.html#itonlyname-options-fn |
| before | https://beta.docs.nodejs.org/test.html#beforefn-options |
| after | https://beta.docs.nodejs.org/test.html#afterfn-options |
| beforeEach | https://beta.docs.nodejs.org/test.html#beforeeachfn-options |
| afterEach | https://beta.docs.nodejs.org/test.html#aftereachfn-options |
| assert | https://beta.docs.nodejs.org/test.html#assert |
| assert.register | https://beta.docs.nodejs.org/test.html#assertregistername-fn |
| snapshot | https://beta.docs.nodejs.org/test.html#snapshot |
| snapshot.setDefaultSnapshotSerializers | https://beta.docs.nodejs.org/test.html#snapshotsetdefaultsnapshotserializersserializers |
| snapshot.setResolveSnapshotPath | https://beta.docs.nodejs.org/test.html#snapshotsetresolvesnapshotpathfn |
| MockFunctionContext | https://beta.docs.nodejs.org/test.html#class-mockfunctioncontext |
| ctx.calls | https://beta.docs.nodejs.org/test.html#ctxcalls |
| ctx.callCount | https://beta.docs.nodejs.org/test.html#ctxcallcount |
| ctx.mockImplementation | https://beta.docs.nodejs.org/test.html#ctxmockimplementationimplementation |
| ctx.mockImplementationOnce | https://beta.docs.nodejs.org/test.html#ctxmockimplementationonceimplementation-oncall |
| ctx.resetCalls | https://beta.docs.nodejs.org/test.html#ctxresetcalls |
| ctx.restore | https://beta.docs.nodejs.org/test.html#ctxrestore |
| MockModuleContextE | https://beta.docs.nodejs.org/test.html#class-mockmodulecontext |
| ctx.restore | https://beta.docs.nodejs.org/test.html#ctxrestore-1 |
| MockPropertyContext | https://beta.docs.nodejs.org/test.html#class-mockpropertycontext |
| ctx.accesses | https://beta.docs.nodejs.org/test.html#ctxaccesses |
| ctx.accessCount | https://beta.docs.nodejs.org/test.html#ctxaccesscount |
| ctx.mockImplementation | https://beta.docs.nodejs.org/test.html#ctxmockimplementationvalue |
| ctx.mockImplementationOnce | https://beta.docs.nodejs.org/test.html#ctxmockimplementationoncevalue-onaccess |
| ctx.resetAccesses | https://beta.docs.nodejs.org/test.html#ctxresetaccesses |
| ctx.restore | https://beta.docs.nodejs.org/test.html#ctxrestore-2 |
| MockTracker | https://beta.docs.nodejs.org/test.html#class-mocktracker |
| mock.fn | https://beta.docs.nodejs.org/test.html#mockfnoriginal-implementation-options |
| mock.getter | https://beta.docs.nodejs.org/test.html#mockgetterobject-methodname-implementation-options |
| mock.method | https://beta.docs.nodejs.org/test.html#mockmethodobject-methodname-implementation-options |
| mock.moduleE | https://beta.docs.nodejs.org/test.html#mockmodulespecifier-options |
| mock.property | https://beta.docs.nodejs.org/test.html#mockpropertyobject-propertyname-value |
| mock.reset | https://beta.docs.nodejs.org/test.html#mockreset |
| mock.restoreAll | https://beta.docs.nodejs.org/test.html#mockrestoreall |
| mock.setter | https://beta.docs.nodejs.org/test.html#mocksetterobject-methodname-implementation-options |
| MockTimers | https://beta.docs.nodejs.org/test.html#class-mocktimers |
| timers.enable | https://beta.docs.nodejs.org/test.html#timersenableenableoptions |
| timers.reset | https://beta.docs.nodejs.org/test.html#timersreset |
| timers[Symbol.dispose] | https://beta.docs.nodejs.org/test.html#timerssymboldispose |
| timers.tick | https://beta.docs.nodejs.org/test.html#timerstickmilliseconds |
| timers.runAll | https://beta.docs.nodejs.org/test.html#timersrunall |
| timers.setTime | https://beta.docs.nodejs.org/test.html#timerssettimemilliseconds |
| TestsStream | https://beta.docs.nodejs.org/test.html#class-testsstream |
| Event lifecycle | https://beta.docs.nodejs.org/test.html#event-lifecycle |
| 'test:coverage' | https://beta.docs.nodejs.org/test.html#event-testcoverage |
| 'test:complete' | https://beta.docs.nodejs.org/test.html#event-testcomplete |
| 'test:dequeue' | https://beta.docs.nodejs.org/test.html#event-testdequeue |
| 'test:diagnostic' | https://beta.docs.nodejs.org/test.html#event-testdiagnostic |
| 'test:enqueue' | https://beta.docs.nodejs.org/test.html#event-testenqueue |
| 'test:fail' | https://beta.docs.nodejs.org/test.html#event-testfail |
| 'test:interrupted' | https://beta.docs.nodejs.org/test.html#event-testinterrupted |
| 'test:log' | https://beta.docs.nodejs.org/test.html#event-testlog |
| 'test:pass' | https://beta.docs.nodejs.org/test.html#event-testpass |
| 'test:plan' | https://beta.docs.nodejs.org/test.html#event-testplan |
| 'test:start' | https://beta.docs.nodejs.org/test.html#event-teststart |
| 'test:stderr' | https://beta.docs.nodejs.org/test.html#event-teststderr |
| 'test:stdout' | https://beta.docs.nodejs.org/test.html#event-teststdout |
| 'test:summary' | https://beta.docs.nodejs.org/test.html#event-testsummary |
| 'test:watch:drained' | https://beta.docs.nodejs.org/test.html#event-testwatchdrained |
| 'test:watch:restarted' | https://beta.docs.nodejs.org/test.html#event-testwatchrestarted |
| getTestContext | https://beta.docs.nodejs.org/test.html#gettestcontext |
| Test instrumentation and OpenTelemetry | https://beta.docs.nodejs.org/test.html#test-instrumentation-and-opentelemetry |
| Tracing events | https://beta.docs.nodejs.org/test.html#tracing-events |
| Context propagation with bindStore() | https://beta.docs.nodejs.org/test.html#context-propagation-with-bindstore |
| TestContext | https://beta.docs.nodejs.org/test.html#class-testcontext |
| context.before | https://beta.docs.nodejs.org/test.html#contextbeforefn-options |
| context.beforeEach | https://beta.docs.nodejs.org/test.html#contextbeforeeachfn-options |
| context.after | https://beta.docs.nodejs.org/test.html#contextafterfn-options |
| context.afterEach | https://beta.docs.nodejs.org/test.html#contextaftereachfn-options |
| context.assert | https://beta.docs.nodejs.org/test.html#contextassert |
| context.diagnostic | https://beta.docs.nodejs.org/test.html#contextdiagnosticmessage |
| context.log | https://beta.docs.nodejs.org/test.html#contextlogmessage-data |
| context.filePath | https://beta.docs.nodejs.org/test.html#contextfilepath |
| context.fullName | https://beta.docs.nodejs.org/test.html#contextfullname |
| context.name | https://beta.docs.nodejs.org/test.html#contextname |
| context.passed | https://beta.docs.nodejs.org/test.html#contextpassed |
| context.error | https://beta.docs.nodejs.org/test.html#contexterror |
| context.attempt | https://beta.docs.nodejs.org/test.html#contextattempt |
| context.tagsE | https://beta.docs.nodejs.org/test.html#contexttags |
| context.workerId | https://beta.docs.nodejs.org/test.html#contextworkerid |
| context.plan | https://beta.docs.nodejs.org/test.html#contextplancountoptions |
| context.runOnly | https://beta.docs.nodejs.org/test.html#contextrunonlyshouldrunonlytests |
| context.signal | https://beta.docs.nodejs.org/test.html#contextsignal |
| context.skip | https://beta.docs.nodejs.org/test.html#contextskipmessage |
| context.todo | https://beta.docs.nodejs.org/test.html#contexttodomessage |
| context.test | https://beta.docs.nodejs.org/test.html#contexttestname-options-fn |
| context.waitFor | https://beta.docs.nodejs.org/test.html#contextwaitforcondition-options |
| SuiteContext | https://beta.docs.nodejs.org/test.html#class-suitecontext |
| context.filePath | https://beta.docs.nodejs.org/test.html#contextfilepath-1 |
| context.fullName | https://beta.docs.nodejs.org/test.html#contextfullname-1 |
| context.name | https://beta.docs.nodejs.org/test.html#contextname-1 |
| context.signal | https://beta.docs.nodejs.org/test.html#contextsignal-1 |
| context.passed | https://beta.docs.nodejs.org/test.html#contextpassed-1 |
| context.attempt | https://beta.docs.nodejs.org/test.html#contextattempt-1 |
| context.diagnostic | https://beta.docs.nodejs.org/test.html#contextdiagnosticmessage-1 |
| context.log | https://beta.docs.nodejs.org/test.html#contextlogmessage-data-1 |