René's URL Explorer Experiment


Title: Test runner | Node.js 26.13.0 Documentation

Open Graph Title: Test runner | Node.js 26.13.0 Documentation

Description: Node.js® is a free, open-source, cross-platform JavaScript runtime environment that lets developers create servers, web apps, command line tools and scripts.

Open Graph Description: Node.js® is a free, open-source, cross-platform JavaScript runtime environment that lets developers create servers, web apps, command line tools and scripts.

direct link

Domain: beta.docs.nodejs.org

og:typewebsite
og:imagehttps://nodejs.org/en/next-data/og/announcement/Node.js — Run JavaScript Everywhere

Links:

https://beta.docs.nodejs.org/
Learnhttps://nodejs.org/en/learn
Abouthttps://nodejs.org/en/about
Downloadhttps://nodejs.org/en/download
Docshttps://nodejs.org/docs/latest/api/
Bloghttps://nodejs.org/en/blog/
Contributehttps://github.com/nodejs/node/blob/main/CONTRIBUTING.md
https://github.com/nodejs/node
About this documentationhttps://beta.docs.nodejs.org/index.html
Usage and examplehttps://beta.docs.nodejs.org/synopsis.html
Asserthttps://beta.docs.nodejs.org/assert.html
Async hookshttps://beta.docs.nodejs.org/async_hooks.html
Asynchronous context trackinghttps://beta.docs.nodejs.org/async_context.html
Benchmark runnerhttps://beta.docs.nodejs.org/bench.html
Bufferhttps://beta.docs.nodejs.org/buffer.html
C++ addonshttps://beta.docs.nodejs.org/addons.html
C++ embedder APIhttps://beta.docs.nodejs.org/embedding.html
Child processhttps://beta.docs.nodejs.org/child_process.html
Clusterhttps://beta.docs.nodejs.org/cluster.html
Command-line APIhttps://beta.docs.nodejs.org/cli.html
Consolehttps://beta.docs.nodejs.org/console.html
Cryptohttps://beta.docs.nodejs.org/crypto.html
Debuggerhttps://beta.docs.nodejs.org/debugger.html
Deprecated APIshttps://beta.docs.nodejs.org/deprecations.html
Diagnostic reporthttps://beta.docs.nodejs.org/report.html
Diagnostics Channelhttps://beta.docs.nodejs.org/diagnostics_channel.html
DNShttps://beta.docs.nodejs.org/dns.html
Domainhttps://beta.docs.nodejs.org/domain.html
DTLShttps://beta.docs.nodejs.org/dtls.html
Environment Variableshttps://beta.docs.nodejs.org/environment_variables.html
Errorshttps://beta.docs.nodejs.org/errors.html
Eventshttps://beta.docs.nodejs.org/events.html
FFIhttps://beta.docs.nodejs.org/ffi.html
File systemhttps://beta.docs.nodejs.org/fs.html
Global objectshttps://beta.docs.nodejs.org/globals.html
HTTPhttps://beta.docs.nodejs.org/http.html
HTTP/2https://beta.docs.nodejs.org/http2.html
HTTPShttps://beta.docs.nodejs.org/https.html
Inspectorhttps://beta.docs.nodejs.org/inspector.html
Internationalization supporthttps://beta.docs.nodejs.org/intl.html
Iterable Streamshttps://beta.docs.nodejs.org/stream_iter.html
Modules: node:module APIhttps://beta.docs.nodejs.org/module.html
Modules: CommonJS moduleshttps://beta.docs.nodejs.org/modules.html
Modules: ECMAScript moduleshttps://beta.docs.nodejs.org/esm.html
Modules: Packageshttps://beta.docs.nodejs.org/packages.html
Modules: TypeScripthttps://beta.docs.nodejs.org/typescript.html
Nethttps://beta.docs.nodejs.org/net.html
Node-APIhttps://beta.docs.nodejs.org/n-api.html
OShttps://beta.docs.nodejs.org/os.html
Pathhttps://beta.docs.nodejs.org/path.html
Performance measurement APIshttps://beta.docs.nodejs.org/perf_hooks.html
Permissionshttps://beta.docs.nodejs.org/permissions.html
Processhttps://beta.docs.nodejs.org/process.html
Punycodehttps://beta.docs.nodejs.org/punycode.html
Query stringhttps://beta.docs.nodejs.org/querystring.html
Readlinehttps://beta.docs.nodejs.org/readline.html
REPLhttps://beta.docs.nodejs.org/repl.html
Single executable applicationshttps://beta.docs.nodejs.org/single-executable-applications.html
SQLitehttps://beta.docs.nodejs.org/sqlite.html
Streamhttps://beta.docs.nodejs.org/stream.html
String decoderhttps://beta.docs.nodejs.org/string_decoder.html
Test runnerhttps://beta.docs.nodejs.org/test.html
runhttps://beta.docs.nodejs.org/test/run.html
suitehttps://beta.docs.nodejs.org/test/suite.html
suite.skiphttps://beta.docs.nodejs.org/test/suite.skip.html
suite.todohttps://beta.docs.nodejs.org/test/suite.todo.html
suite.onlyhttps://beta.docs.nodejs.org/test/suite.only.html
testhttps://beta.docs.nodejs.org/test/test.html
test.skiphttps://beta.docs.nodejs.org/test/skip.html
test.todohttps://beta.docs.nodejs.org/test/todo.html
test.onlyhttps://beta.docs.nodejs.org/test/only.html
describehttps://beta.docs.nodejs.org/test/describe.html
describe.skiphttps://beta.docs.nodejs.org/test/describe.skip.html
describe.todohttps://beta.docs.nodejs.org/test/describe.todo.html
describe.onlyhttps://beta.docs.nodejs.org/test/describe.only.html
ithttps://beta.docs.nodejs.org/test/it.html
it.skiphttps://beta.docs.nodejs.org/test/it.skip.html
it.todohttps://beta.docs.nodejs.org/test/it.todo.html
it.onlyhttps://beta.docs.nodejs.org/test/it.only.html
beforehttps://beta.docs.nodejs.org/test/before.html
afterhttps://beta.docs.nodejs.org/test/after.html
beforeEachhttps://beta.docs.nodejs.org/test/beforeEach.html
afterEachhttps://beta.docs.nodejs.org/test/afterEach.html
asserthttps://beta.docs.nodejs.org/test/assert.html
snapshothttps://beta.docs.nodejs.org/test/snapshot.html
MockFunctionContexthttps://beta.docs.nodejs.org/test/MockFunctionContext.html
MockModuleContexthttps://beta.docs.nodejs.org/test/MockModuleContext.html
MockPropertyContexthttps://beta.docs.nodejs.org/test/MockPropertyContext.html
MockTrackerhttps://beta.docs.nodejs.org/test/MockTracker.html
MockTimershttps://beta.docs.nodejs.org/test/MockTimers.html
TestsStreamhttps://beta.docs.nodejs.org/test/TestsStream.html
getTestContexthttps://beta.docs.nodejs.org/test/getTestContext.html
TestContexthttps://beta.docs.nodejs.org/test/TestContext.html
SuiteContexthttps://beta.docs.nodejs.org/test/SuiteContext.html
Timershttps://beta.docs.nodejs.org/timers.html
TLS (SSL)https://beta.docs.nodejs.org/tls.html
Trace eventshttps://beta.docs.nodejs.org/tracing.html
TTYhttps://beta.docs.nodejs.org/tty.html
UDP/datagram socketshttps://beta.docs.nodejs.org/dgram.html
URLhttps://beta.docs.nodejs.org/url.html
Utilhttps://beta.docs.nodejs.org/util.html
V8https://beta.docs.nodejs.org/v8.html
Virtual File Systemhttps://beta.docs.nodejs.org/vfs.html
VM (executing JavaScript)https://beta.docs.nodejs.org/vm.html
Web Crypto APIhttps://beta.docs.nodejs.org/webcrypto.html
Web Streams APIhttps://beta.docs.nodejs.org/webstreams.html
WebAssembly System Interface (WASI)https://beta.docs.nodejs.org/wasi.html
Worker threadshttps://beta.docs.nodejs.org/worker_threads.html
Zlibhttps://beta.docs.nodejs.org/zlib.html
Subtestshttps://beta.docs.nodejs.org/test.html#subtests
Rerunning failed testshttps://beta.docs.nodejs.org/test.html#rerunning-failed-tests
describe() and it() aliaseshttps://beta.docs.nodejs.org/test.html#describe-and-it-aliases
Skipping testshttps://beta.docs.nodejs.org/test.html#skipping-tests
TODO testshttps://beta.docs.nodejs.org/test.html#todo-tests
Expecting tests to failhttps://beta.docs.nodejs.org/test.html#expecting-tests-to-fail
only testshttps://beta.docs.nodejs.org/test.html#only-tests
Filtering tests by namehttps://beta.docs.nodejs.org/test.html#filtering-tests-by-name
Test tagshttps://beta.docs.nodejs.org/test.html#test-tags
Authoring tagged testshttps://beta.docs.nodejs.org/test.html#authoring-tagged-tests
Filtering syntaxhttps://beta.docs.nodejs.org/test.html#filtering-syntax
Extraneous asynchronous activityhttps://beta.docs.nodejs.org/test.html#extraneous-asynchronous-activity
Watch modehttps://beta.docs.nodejs.org/test.html#watch-mode
Global setup and teardownhttps://beta.docs.nodejs.org/test.html#global-setup-and-teardown
Running tests from the command linehttps://beta.docs.nodejs.org/test.html#running-tests-from-the-command-line
Randomizing tests execution orderhttps://beta.docs.nodejs.org/test.html#randomizing-tests-execution-order
Test runner execution modelhttps://beta.docs.nodejs.org/test.html#test-runner-execution-model
Collecting code coveragehttps://beta.docs.nodejs.org/test.html#collecting-code-coverage
Coverage reportershttps://beta.docs.nodejs.org/test.html#coverage-reporters
Mockinghttps://beta.docs.nodejs.org/test.html#mocking
Timershttps://beta.docs.nodejs.org/test.html#timers
Dateshttps://beta.docs.nodejs.org/test.html#dates
Snapshot testinghttps://beta.docs.nodejs.org/test.html#snapshot-testing
Test reportershttps://beta.docs.nodejs.org/test.html#test-reporters
Custom reportershttps://beta.docs.nodejs.org/test.html#custom-reporters
Multiple reportershttps://beta.docs.nodejs.org/test.html#multiple-reporters
runhttps://beta.docs.nodejs.org/test.html#runoptions
suitehttps://beta.docs.nodejs.org/test.html#suitename-options-fn
suite.skiphttps://beta.docs.nodejs.org/test.html#suiteskipname-options-fn
suite.todohttps://beta.docs.nodejs.org/test.html#suitetodoname-options-fn
suite.onlyhttps://beta.docs.nodejs.org/test.html#suiteonlyname-options-fn
testhttps://beta.docs.nodejs.org/test.html#testname-options-fn
test.skiphttps://beta.docs.nodejs.org/test.html#testskipname-options-fn
test.todohttps://beta.docs.nodejs.org/test.html#testtodoname-options-fn
test.onlyhttps://beta.docs.nodejs.org/test.html#testonlyname-options-fn
describehttps://beta.docs.nodejs.org/test.html#describename-options-fn
describe.skiphttps://beta.docs.nodejs.org/test.html#describeskipname-options-fn
describe.todohttps://beta.docs.nodejs.org/test.html#describetodoname-options-fn
describe.onlyhttps://beta.docs.nodejs.org/test.html#describeonlyname-options-fn
ithttps://beta.docs.nodejs.org/test.html#itname-options-fn
it.skiphttps://beta.docs.nodejs.org/test.html#itskipname-options-fn
it.todohttps://beta.docs.nodejs.org/test.html#ittodoname-options-fn
it.onlyhttps://beta.docs.nodejs.org/test.html#itonlyname-options-fn
beforehttps://beta.docs.nodejs.org/test.html#beforefn-options
afterhttps://beta.docs.nodejs.org/test.html#afterfn-options
beforeEachhttps://beta.docs.nodejs.org/test.html#beforeeachfn-options
afterEachhttps://beta.docs.nodejs.org/test.html#aftereachfn-options
asserthttps://beta.docs.nodejs.org/test.html#assert
assert.registerhttps://beta.docs.nodejs.org/test.html#assertregistername-fn
snapshothttps://beta.docs.nodejs.org/test.html#snapshot
snapshot.setDefaultSnapshotSerializershttps://beta.docs.nodejs.org/test.html#snapshotsetdefaultsnapshotserializersserializers
snapshot.setResolveSnapshotPathhttps://beta.docs.nodejs.org/test.html#snapshotsetresolvesnapshotpathfn
MockFunctionContexthttps://beta.docs.nodejs.org/test.html#class-mockfunctioncontext
ctx.callshttps://beta.docs.nodejs.org/test.html#ctxcalls
ctx.callCounthttps://beta.docs.nodejs.org/test.html#ctxcallcount
ctx.mockImplementationhttps://beta.docs.nodejs.org/test.html#ctxmockimplementationimplementation
ctx.mockImplementationOncehttps://beta.docs.nodejs.org/test.html#ctxmockimplementationonceimplementation-oncall
ctx.resetCallshttps://beta.docs.nodejs.org/test.html#ctxresetcalls
ctx.restorehttps://beta.docs.nodejs.org/test.html#ctxrestore
MockModuleContexthttps://beta.docs.nodejs.org/test.html#class-mockmodulecontext
ctx.restorehttps://beta.docs.nodejs.org/test.html#ctxrestore-1
MockPropertyContexthttps://beta.docs.nodejs.org/test.html#class-mockpropertycontext
ctx.accesseshttps://beta.docs.nodejs.org/test.html#ctxaccesses
ctx.accessCounthttps://beta.docs.nodejs.org/test.html#ctxaccesscount
ctx.mockImplementationhttps://beta.docs.nodejs.org/test.html#ctxmockimplementationvalue
ctx.mockImplementationOncehttps://beta.docs.nodejs.org/test.html#ctxmockimplementationoncevalue-onaccess
ctx.resetAccesseshttps://beta.docs.nodejs.org/test.html#ctxresetaccesses
ctx.restorehttps://beta.docs.nodejs.org/test.html#ctxrestore-2
MockTrackerhttps://beta.docs.nodejs.org/test.html#class-mocktracker
mock.fnhttps://beta.docs.nodejs.org/test.html#mockfnoriginal-implementation-options
mock.getterhttps://beta.docs.nodejs.org/test.html#mockgetterobject-methodname-implementation-options
mock.methodhttps://beta.docs.nodejs.org/test.html#mockmethodobject-methodname-implementation-options
mock.modulehttps://beta.docs.nodejs.org/test.html#mockmodulespecifier-options
mock.propertyhttps://beta.docs.nodejs.org/test.html#mockpropertyobject-propertyname-value
mock.resethttps://beta.docs.nodejs.org/test.html#mockreset
mock.restoreAllhttps://beta.docs.nodejs.org/test.html#mockrestoreall
mock.setterhttps://beta.docs.nodejs.org/test.html#mocksetterobject-methodname-implementation-options
MockTimershttps://beta.docs.nodejs.org/test.html#class-mocktimers
timers.enablehttps://beta.docs.nodejs.org/test.html#timersenableenableoptions
timers.resethttps://beta.docs.nodejs.org/test.html#timersreset
timers[Symbol.dispose]https://beta.docs.nodejs.org/test.html#timerssymboldispose
timers.tickhttps://beta.docs.nodejs.org/test.html#timerstickmilliseconds
timers.runAllhttps://beta.docs.nodejs.org/test.html#timersrunall
timers.setTimehttps://beta.docs.nodejs.org/test.html#timerssettimemilliseconds
TestsStreamhttps://beta.docs.nodejs.org/test.html#class-testsstream
Event lifecyclehttps://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
getTestContexthttps://beta.docs.nodejs.org/test.html#gettestcontext
Test instrumentation and OpenTelemetryhttps://beta.docs.nodejs.org/test.html#test-instrumentation-and-opentelemetry
Tracing eventshttps://beta.docs.nodejs.org/test.html#tracing-events
Context propagation with bindStore()https://beta.docs.nodejs.org/test.html#context-propagation-with-bindstore
TestContexthttps://beta.docs.nodejs.org/test.html#class-testcontext
context.beforehttps://beta.docs.nodejs.org/test.html#contextbeforefn-options
context.beforeEachhttps://beta.docs.nodejs.org/test.html#contextbeforeeachfn-options
context.afterhttps://beta.docs.nodejs.org/test.html#contextafterfn-options
context.afterEachhttps://beta.docs.nodejs.org/test.html#contextaftereachfn-options
context.asserthttps://beta.docs.nodejs.org/test.html#contextassert
context.diagnostichttps://beta.docs.nodejs.org/test.html#contextdiagnosticmessage
context.loghttps://beta.docs.nodejs.org/test.html#contextlogmessage-data
context.filePathhttps://beta.docs.nodejs.org/test.html#contextfilepath
context.fullNamehttps://beta.docs.nodejs.org/test.html#contextfullname
context.namehttps://beta.docs.nodejs.org/test.html#contextname
context.passedhttps://beta.docs.nodejs.org/test.html#contextpassed
context.errorhttps://beta.docs.nodejs.org/test.html#contexterror
context.attempthttps://beta.docs.nodejs.org/test.html#contextattempt
context.tagshttps://beta.docs.nodejs.org/test.html#contexttags
context.workerIdhttps://beta.docs.nodejs.org/test.html#contextworkerid
context.planhttps://beta.docs.nodejs.org/test.html#contextplancountoptions
context.runOnlyhttps://beta.docs.nodejs.org/test.html#contextrunonlyshouldrunonlytests
context.signalhttps://beta.docs.nodejs.org/test.html#contextsignal
context.skiphttps://beta.docs.nodejs.org/test.html#contextskipmessage
context.todohttps://beta.docs.nodejs.org/test.html#contexttodomessage
context.testhttps://beta.docs.nodejs.org/test.html#contexttestname-options-fn
context.waitForhttps://beta.docs.nodejs.org/test.html#contextwaitforcondition-options
SuiteContexthttps://beta.docs.nodejs.org/test.html#class-suitecontext
context.filePathhttps://beta.docs.nodejs.org/test.html#contextfilepath-1
context.fullNamehttps://beta.docs.nodejs.org/test.html#contextfullname-1
context.namehttps://beta.docs.nodejs.org/test.html#contextname-1
context.signalhttps://beta.docs.nodejs.org/test.html#contextsignal-1
context.passedhttps://beta.docs.nodejs.org/test.html#contextpassed-1
context.attempthttps://beta.docs.nodejs.org/test.html#contextattempt-1
context.diagnostichttps://beta.docs.nodejs.org/test.html#contextdiagnosticmessage-1
context.loghttps://beta.docs.nodejs.org/test.html#contextlogmessage-data-1
Test runnerhttps://beta.docs.nodejs.org/test.html#test-runner
The test runner is now stable.v20.0.0https://github.com/nodejs/node/pull/46983
lib/test.jshttps://github.com/nodejs/node/blob/main/lib/test.js
Subtestshttps://beta.docs.nodejs.org/test.html#subtests
Rerunning failed testshttps://beta.docs.nodejs.org/test.html#rerunning-failed-tests
--test-rerun-failureshttps://beta.docs.nodejs.org/cli.html#--test-rerun-failures
describe() and it() aliaseshttps://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 testshttps://beta.docs.nodejs.org/test.html#skipping-tests
TODO testshttps://beta.docs.nodejs.org/test.html#todo-tests
Expecting tests to failhttps://beta.docs.nodejs.org/test.html#expecting-tests-to-fail
RegExphttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/RegExp
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
assert.throwshttps://beta.docs.nodejs.org/assert.html#assertthrowsfn-error-message
only testshttps://beta.docs.nodejs.org/test.html#only-tests
--test-onlyhttps://beta.docs.nodejs.org/cli.html#--test-only
subtestshttps://beta.docs.nodejs.org/test.html#subtests
Filtering tests by namehttps://beta.docs.nodejs.org/test.html#filtering-tests-by-name
--test-name-patternhttps://beta.docs.nodejs.org/cli.html#--test-name-pattern
--test-skip-patternhttps://beta.docs.nodejs.org/cli.html#--test-skip-pattern
Test tagshttps://beta.docs.nodejs.org/test.html#test-tags
--experimental-test-tag-filterhttps://beta.docs.nodejs.org/cli.html#--experimental-test-tag-filtertag
run()https://beta.docs.nodejs.org/test.html#runoptions
Authoring tagged testshttps://beta.docs.nodejs.org/test.html#authoring-tagged-tests
Filtering syntaxhttps://beta.docs.nodejs.org/test.html#filtering-syntax
Operator precedencehttps://beta.docs.nodejs.org/test.html#operator-precedence
Untagged testshttps://beta.docs.nodejs.org/test.html#untagged-tests
Composing multiple filtershttps://beta.docs.nodejs.org/test.html#composing-multiple-filters
--experimental-test-tag-filterhttps://beta.docs.nodejs.org/cli.html#--experimental-test-tag-filtertag
run()https://beta.docs.nodejs.org/test.html#runoptions
--test-name-patternhttps://beta.docs.nodejs.org/cli.html#--test-name-pattern
--test-skip-patternhttps://beta.docs.nodejs.org/cli.html#--test-skip-pattern
Reading tags from inside a testhttps://beta.docs.nodejs.org/test.html#reading-tags-from-inside-a-test
TestContexthttps://beta.docs.nodejs.org/test.html#class-testcontext
context.tagshttps://beta.docs.nodejs.org/test.html#contexttags
Errorshttps://beta.docs.nodejs.org/test.html#errors
Extraneous asynchronous activityhttps://beta.docs.nodejs.org/test.html#extraneous-asynchronous-activity
TestsStreamhttps://beta.docs.nodejs.org/test.html#class-testsstream
TestsStreamhttps://beta.docs.nodejs.org/test.html#class-testsstream
Watch modehttps://beta.docs.nodejs.org/test.html#watch-mode
Global setup and teardownhttps://beta.docs.nodejs.org/test.html#global-setup-and-teardown
Running tests from the command linehttps://beta.docs.nodejs.org/test.html#running-tests-from-the-command-line
--testhttps://beta.docs.nodejs.org/cli.html#--test
--no-strip-typeshttps://beta.docs.nodejs.org/cli.html#--no-strip-types
glob(7)https://man7.org/linux/man-pages/man7/glob.7.html
Randomizing tests execution orderhttps://beta.docs.nodejs.org/test.html#randomizing-tests-execution-order
test runner execution modelhttps://beta.docs.nodejs.org/test.html#test-runner-execution-model
Test runner execution modelhttps://beta.docs.nodejs.org/test.html#test-runner-execution-model
--test-concurrencyhttps://beta.docs.nodejs.org/cli.html#--test-concurrency
test()https://beta.docs.nodejs.org/test.html#testname-options-fn
Child process option inheritancehttps://beta.docs.nodejs.org/test.html#child-process-option-inheritance
configuration fileshttps://beta.docs.nodejs.org/cli.html#--config-filepath---config-file
Collecting code coveragehttps://beta.docs.nodejs.org/test.html#collecting-code-coverage
--experimental-test-coveragehttps://beta.docs.nodejs.org/cli.html#--experimental-test-coverage
NODE_V8_COVERAGEhttps://beta.docs.nodejs.org/cli.html#node_v8_coveragedir
--test-coverage-includehttps://beta.docs.nodejs.org/cli.html#--test-coverage-include
--test-coverage-excludehttps://beta.docs.nodejs.org/cli.html#--test-coverage-exclude
test reportershttps://beta.docs.nodejs.org/test.html#test-reporters
Coverage reportershttps://beta.docs.nodejs.org/test.html#coverage-reporters
Mockinghttps://beta.docs.nodejs.org/test.html#mocking
TestContexthttps://beta.docs.nodejs.org/test.html#class-testcontext
Timershttps://beta.docs.nodejs.org/test.html#timers
MockTimershttps://beta.docs.nodejs.org/test.html#class-mocktimers
node:timershttps://beta.docs.nodejs.org/timers.html
node:timers/promiseshttps://beta.docs.nodejs.org/timers.html#timers-promises-api
TestContexthttps://beta.docs.nodejs.org/test.html#class-testcontext
Dateshttps://beta.docs.nodejs.org/test.html#dates
MockTimershttps://beta.docs.nodejs.org/test.html#class-mocktimers
Snapshot testinghttps://beta.docs.nodejs.org/test.html#snapshot-testing
Snapshot testing is no longer experimental.v23.4.0https://github.com/nodejs/node/pull/55897
--test-update-snapshotshttps://beta.docs.nodejs.org/cli.html#--test-update-snapshots
Test reportershttps://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.0https://github.com/nodejs/node/pull/54548
Reporters are now exposed at node:test/reporters.v19.9.0, v18.17.0https://github.com/nodejs/node/pull/47238
--test-reporterhttps://beta.docs.nodejs.org/cli.html#--test-reporter
TAPhttps://testanything.org/
--experimental-test-coveragehttps://beta.docs.nodejs.org/cli.html#--experimental-test-coverage
TestsStreamhttps://beta.docs.nodejs.org/test.html#class-testsstream
Custom reportershttps://beta.docs.nodejs.org/test.html#custom-reporters
--test-reporterhttps://beta.docs.nodejs.org/cli.html#--test-reporter
stream.composehttps://beta.docs.nodejs.org/stream.html#streamcomposestreams
TestsStreamhttps://beta.docs.nodejs.org/test.html#class-testsstream
stream.Transformhttps://beta.docs.nodejs.org/stream.html#class-streamtransform
--importhttps://beta.docs.nodejs.org/cli.html#--importmodule
Multiple reportershttps://beta.docs.nodejs.org/test.html#multiple-reporters
--test-reporterhttps://beta.docs.nodejs.org/cli.html#--test-reporter
--test-reporter-destinationhttps://beta.docs.nodejs.org/cli.html#--test-reporter-destination
runhttps://beta.docs.nodejs.org/test.html#runoptions
Added the testTagFilters option.v26.2.0https://github.com/nodejs/node/pull/63221
Add the env option.v25.6.0, v24.14.0https://github.com/nodejs/node/pull/61367
Added a rerunFailuresFilePath option.v24.7.0https://github.com/nodejs/node/pull/59443
Added the cwd option.v23.0.0https://github.com/nodejs/node/pull/54705
Added coverage options.v23.0.0, v22.10.0https://github.com/nodejs/node/pull/53937
Added the isolation option.v22.8.0https://github.com/nodejs/node/pull/53927
Added the globPatterns option.v22.6.0https://github.com/nodejs/node/pull/53866
Added the forceExit option.v22.0.0, v20.14.0https://github.com/nodejs/node/pull/52038
Add a testNamePatterns option.v20.1.0, v18.17.0https://github.com/nodejs/node/pull/47628
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
running tests from the command linehttps://beta.docs.nodejs.org/test.html#running-tests-from-the-command-line
Arrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array
running tests from the command linehttps://beta.docs.nodejs.org/test.html#running-tests-from-the-command-line
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
Arrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array
running tests from the command linehttps://beta.docs.nodejs.org/test.html#running-tests-from-the-command-line
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Arrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array
Arrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array
AbortSignalhttps://beta.docs.nodejs.org/globals.html#class-abortsignal
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
RegExphttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/RegExp
Arrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
RegExphttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/RegExp
Arrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
--experimental-test-tag-filterhttps://beta.docs.nodejs.org/cli.html#--experimental-test-tag-filtertag
Test tagshttps://beta.docs.nodejs.org/test.html#test-tags
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
code coveragehttps://beta.docs.nodejs.org/test.html#collecting-code-coverage
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Arrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Arrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
TestsStreamhttps://beta.docs.nodejs.org/test.html#class-testsstream
suitehttps://beta.docs.nodejs.org/test.html#suitename-options-fn
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
AsyncFunctionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/AsyncFunction
SuiteContexthttps://beta.docs.nodejs.org/test.html#class-suitecontext
Promisehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise
suite.skiphttps://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.todohttps://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.onlyhttps://beta.docs.nodejs.org/test.html#suiteonlyname-options-fn
suite([name], { only: true }[, fn])https://beta.docs.nodejs.org/test.html#suitename-options-fn
testhttps://beta.docs.nodejs.org/test.html#testname-options-fn
Added the tags option.v26.2.0https://github.com/nodejs/node/pull/63221
Added the skip, todo, and only shorthands.v20.2.0, v18.17.0https://github.com/nodejs/node/pull/47909
Add a signal option.v18.8.0, v16.18.0https://github.com/nodejs/node/pull/43554
Add a timeout option.v18.7.0, v16.17.0https://github.com/nodejs/node/pull/43505
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
RegExphttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/RegExp
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
RegExphttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/RegExp
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
assert.throwshttps://beta.docs.nodejs.org/assert.html#assertthrowsfn-error-message
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
AbortSignalhttps://beta.docs.nodejs.org/globals.html#class-abortsignal
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
--experimental-test-tag-filterhttps://beta.docs.nodejs.org/cli.html#--experimental-test-tag-filtertag
Test tagshttps://beta.docs.nodejs.org/test.html#test-tags
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
AsyncFunctionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/AsyncFunction
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
AsyncFunctionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/AsyncFunction
TestContexthttps://beta.docs.nodejs.org/test.html#class-testcontext
Promisehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise
TestsStreamhttps://beta.docs.nodejs.org/test.html#class-testsstream
test.skiphttps://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.todohttps://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.onlyhttps://beta.docs.nodejs.org/test.html#testonlyname-options-fn
test([name], { only: true }[, fn])https://beta.docs.nodejs.org/test.html#testname-options-fn
describehttps://beta.docs.nodejs.org/test.html#describename-options-fn
suite()https://beta.docs.nodejs.org/test.html#suitename-options-fn
describe.skiphttps://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.todohttps://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.onlyhttps://beta.docs.nodejs.org/test.html#describeonlyname-options-fn
describe([name], { only: true }[, fn])https://beta.docs.nodejs.org/test.html#describename-options-fn
ithttps://beta.docs.nodejs.org/test.html#itname-options-fn
Calling it() is now equivalent to calling test().v19.8.0, v18.16.0https://github.com/nodejs/node/pull/46889
test()https://beta.docs.nodejs.org/test.html#testname-options-fn
it.skiphttps://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.todohttps://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.onlyhttps://beta.docs.nodejs.org/test.html#itonlyname-options-fn
it([name], { only: true }[, fn])https://beta.docs.nodejs.org/test.html#testname-options-fn
beforehttps://beta.docs.nodejs.org/test.html#beforefn-options
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
AsyncFunctionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/AsyncFunction
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
AbortSignalhttps://beta.docs.nodejs.org/globals.html#class-abortsignal
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
afterhttps://beta.docs.nodejs.org/test.html#afterfn-options
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
AsyncFunctionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/AsyncFunction
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
AbortSignalhttps://beta.docs.nodejs.org/globals.html#class-abortsignal
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
beforeEachhttps://beta.docs.nodejs.org/test.html#beforeeachfn-options
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
AsyncFunctionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/AsyncFunction
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
AbortSignalhttps://beta.docs.nodejs.org/globals.html#class-abortsignal
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
afterEachhttps://beta.docs.nodejs.org/test.html#aftereachfn-options
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
AsyncFunctionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/AsyncFunction
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
AbortSignalhttps://beta.docs.nodejs.org/globals.html#class-abortsignal
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
asserthttps://beta.docs.nodejs.org/test.html#assert
assert.registerhttps://beta.docs.nodejs.org/test.html#assertregistername-fn
snapshothttps://beta.docs.nodejs.org/test.html#snapshot
snapshot.setDefaultSnapshotSerializershttps://beta.docs.nodejs.org/test.html#snapshotsetdefaultsnapshotserializersserializers
Arrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array
snapshot.setResolveSnapshotPathhttps://beta.docs.nodejs.org/test.html#snapshotsetresolvesnapshotpathfn
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
MockFunctionContexthttps://beta.docs.nodejs.org/test.html#class-mockfunctioncontext
MockTrackerhttps://beta.docs.nodejs.org/test.html#class-mocktracker
ctx.callshttps://beta.docs.nodejs.org/test.html#ctxcalls
Arrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array
Arrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array
anyhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Data_types
anyhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Data_types
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
anyhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Data_types
ctx.callCounthttps://beta.docs.nodejs.org/test.html#ctxcallcount
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
ctx.mockImplementationhttps://beta.docs.nodejs.org/test.html#ctxmockimplementationimplementation
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
AsyncFunctionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/AsyncFunction
ctx.mockImplementationOncehttps://beta.docs.nodejs.org/test.html#ctxmockimplementationonceimplementation-oncall
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
AsyncFunctionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/AsyncFunction
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
ctx.resetCallshttps://beta.docs.nodejs.org/test.html#ctxresetcalls
ctx.restorehttps://beta.docs.nodejs.org/test.html#ctxrestore
MockModuleContexthttps://beta.docs.nodejs.org/test.html#class-mockmodulecontext
MockTrackerhttps://beta.docs.nodejs.org/test.html#class-mocktracker
ctx.restorehttps://beta.docs.nodejs.org/test.html#ctxrestore-1
MockPropertyContexthttps://beta.docs.nodejs.org/test.html#class-mockpropertycontext
MockTrackerhttps://beta.docs.nodejs.org/test.html#class-mocktracker
ctx.accesseshttps://beta.docs.nodejs.org/test.html#ctxaccesses
Arrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
anyhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Data_types
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
ctx.accessCounthttps://beta.docs.nodejs.org/test.html#ctxaccesscount
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
ctx.mockImplementationhttps://beta.docs.nodejs.org/test.html#ctxmockimplementationvalue
anyhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Data_types
ctx.mockImplementationOncehttps://beta.docs.nodejs.org/test.html#ctxmockimplementationoncevalue-onaccess
anyhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Data_types
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Caveathttps://beta.docs.nodejs.org/test.html#caveat
ctx.resetAccesseshttps://beta.docs.nodejs.org/test.html#ctxresetaccesses
ctx.restorehttps://beta.docs.nodejs.org/test.html#ctxrestore-2
MockTrackerhttps://beta.docs.nodejs.org/test.html#class-mocktracker
mock.fnhttps://beta.docs.nodejs.org/test.html#mockfnoriginal-implementation-options
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
AsyncFunctionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/AsyncFunction
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
AsyncFunctionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/AsyncFunction
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Proxyhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Proxy
MockFunctionContexthttps://beta.docs.nodejs.org/test.html#class-mockfunctioncontext
mock.getterhttps://beta.docs.nodejs.org/test.html#mockgetterobject-methodname-implementation-options
MockTracker.methodhttps://beta.docs.nodejs.org/test.html#mockmethodobject-methodname-implementation-options
mock.methodhttps://beta.docs.nodejs.org/test.html#mockmethodobject-methodname-implementation-options
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
symbolhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#symbol_type
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
AsyncFunctionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/AsyncFunction
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Proxyhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Proxy
MockFunctionContexthttps://beta.docs.nodejs.org/test.html#class-mockfunctioncontext
mock.modulehttps://beta.docs.nodejs.org/test.html#mockmodulespecifier-options
Support JSON modules.v24.0.0, v22.17.0https://github.com/nodejs/node/pull/58007
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
URLhttps://beta.docs.nodejs.org/url.html#the-whatwg-url-api
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
anyhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Data_types
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
MockModuleContexthttps://beta.docs.nodejs.org/test.html#class-mockmodulecontext
--experimental-test-module-mockshttps://beta.docs.nodejs.org/cli.html#--experimental-test-module-mocks
module customization hookshttps://beta.docs.nodejs.org/module.html#customization-hooks
mock.propertyhttps://beta.docs.nodejs.org/test.html#mockpropertyobject-propertyname-value
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
symbolhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#symbol_type
anyhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Data_types
Proxyhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Proxy
MockPropertyContexthttps://beta.docs.nodejs.org/test.html#class-mockpropertycontext
mock.resethttps://beta.docs.nodejs.org/test.html#mockreset
mock.restoreAllhttps://beta.docs.nodejs.org/test.html#mockrestoreall
mock.setterhttps://beta.docs.nodejs.org/test.html#mocksetterobject-methodname-implementation-options
MockTracker.methodhttps://beta.docs.nodejs.org/test.html#mockmethodobject-methodname-implementation-options
MockTimershttps://beta.docs.nodejs.org/test.html#class-mocktimers
The Mock Timers is now stable.v23.1.0https://github.com/nodejs/node/pull/55398
MockTrackerhttps://beta.docs.nodejs.org/test.html#class-mocktracker
timers.enablehttps://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.0https://github.com/nodejs/node/pull/48638
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
Arrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Datehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Date
node:timershttps://beta.docs.nodejs.org/timers.html
node:timers/promiseshttps://beta.docs.nodejs.org/timers.html#timers-promises-api
timers.resethttps://beta.docs.nodejs.org/test.html#timersreset
timers[Symbol.dispose]https://beta.docs.nodejs.org/test.html#timerssymboldispose
timers.tickhttps://beta.docs.nodejs.org/test.html#timerstickmilliseconds
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Using clear functionshttps://beta.docs.nodejs.org/test.html#using-clear-functions
Working with Node.js timers moduleshttps://beta.docs.nodejs.org/test.html#working-with-nodejs-timers-modules
node:timershttps://beta.docs.nodejs.org/timers.html
node:timers/promiseshttps://beta.docs.nodejs.org/timers.html#timers-promises-api
node:timers/promiseshttps://beta.docs.nodejs.org/timers.html#timers-promises-api
timers.runAllhttps://beta.docs.nodejs.org/test.html#timersrunall
timers.setTimehttps://beta.docs.nodejs.org/test.html#timerssettimemilliseconds
Dates and Timers working togetherhttps://beta.docs.nodejs.org/test.html#dates-and-timers-working-together
TestsStreamhttps://beta.docs.nodejs.org/test.html#class-testsstream
Added entryFile to events forwarded from child processes when tests run with process isolation.v26.6.0https://github.com/nodejs/node/pull/64309
Added parentId to test events that carry a testId.v26.3.0https://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.0https://github.com/nodejs/node/pull/47094
run()https://beta.docs.nodejs.org/test.html#runoptions
TestsStreamhttps://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 lifecyclehttps://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:coveragehttps://beta.docs.nodejs.org/test.html#event-testcoverage
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
Arrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Arrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Arrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Arrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
test:completehttps://beta.docs.nodejs.org/test.html#event-testcomplete
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Test tagshttps://beta.docs.nodejs.org/test.html#test-tags
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
context.todohttps://beta.docs.nodejs.org/test.html#contexttodomessage
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
context.skiphttps://beta.docs.nodejs.org/test.html#contextskipmessage
test:dequeuehttps://beta.docs.nodejs.org/test.html#event-testdequeue
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Test tagshttps://beta.docs.nodejs.org/test.html#test-tags
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
test:diagnostichttps://beta.docs.nodejs.org/test.html#event-testdiagnostic
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
context.diagnostichttps://beta.docs.nodejs.org/test.html#contextdiagnosticmessage
test:enqueuehttps://beta.docs.nodejs.org/test.html#event-testenqueue
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Test tagshttps://beta.docs.nodejs.org/test.html#test-tags
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
test:failhttps://beta.docs.nodejs.org/test.html#event-testfail
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
--test-rerun-failureshttps://beta.docs.nodejs.org/cli.html#--test-rerun-failures
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Test tagshttps://beta.docs.nodejs.org/test.html#test-tags
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
context.todohttps://beta.docs.nodejs.org/test.html#contexttodomessage
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
context.skiphttps://beta.docs.nodejs.org/test.html#contextskipmessage
test:interruptedhttps://beta.docs.nodejs.org/test.html#event-testinterrupted
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
Arrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
test:loghttps://beta.docs.nodejs.org/test.html#event-testlog
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
anyhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Data_types
context.loghttps://beta.docs.nodejs.org/test.html#contextlogmessage-data
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
context.loghttps://beta.docs.nodejs.org/test.html#contextlogmessage-data
'test:diagnostic'https://beta.docs.nodejs.org/test.html#event-testdiagnostic
test:passhttps://beta.docs.nodejs.org/test.html#event-testpass
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
--test-rerun-failureshttps://beta.docs.nodejs.org/cli.html#--test-rerun-failures
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
--test-rerun-failureshttps://beta.docs.nodejs.org/cli.html#--test-rerun-failures
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Test tagshttps://beta.docs.nodejs.org/test.html#test-tags
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
context.todohttps://beta.docs.nodejs.org/test.html#contexttodomessage
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
context.skiphttps://beta.docs.nodejs.org/test.html#contextskipmessage
test:planhttps://beta.docs.nodejs.org/test.html#event-testplan
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
test:starthttps://beta.docs.nodejs.org/test.html#event-teststart
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Test tagshttps://beta.docs.nodejs.org/test.html#test-tags
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
test:stderrhttps://beta.docs.nodejs.org/test.html#event-teststderr
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
test:stdouthttps://beta.docs.nodejs.org/test.html#event-teststdout
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
test:summaryhttps://beta.docs.nodejs.org/test.html#event-testsummary
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
test:watch:drainedhttps://beta.docs.nodejs.org/test.html#event-testwatchdrained
test:watch:restartedhttps://beta.docs.nodejs.org/test.html#event-testwatchrestarted
getTestContexthttps://beta.docs.nodejs.org/test.html#gettestcontext
TestContexthttps://beta.docs.nodejs.org/test.html#class-testcontext
SuiteContexthttps://beta.docs.nodejs.org/test.html#class-suitecontext
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
TestContexthttps://beta.docs.nodejs.org/test.html#class-testcontext
SuiteContexthttps://beta.docs.nodejs.org/test.html#class-suitecontext
TestContexthttps://beta.docs.nodejs.org/test.html#class-testcontext
SuiteContexthttps://beta.docs.nodejs.org/test.html#class-suitecontext
Test instrumentation and OpenTelemetryhttps://beta.docs.nodejs.org/test.html#test-instrumentation-and-opentelemetry
diagnostics_channelhttps://beta.docs.nodejs.org/diagnostics_channel.html
Tracing eventshttps://beta.docs.nodejs.org/test.html#tracing-events
TracingChannelhttps://beta.docs.nodejs.org/diagnostics_channel.html#class-tracingchannel
Channel: 'tracing:node.test:start'https://beta.docs.nodejs.org/test.html#channel-tracingnodeteststart
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
stringhttps://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
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
stringhttps://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
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Errorhttps://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
TestContexthttps://beta.docs.nodejs.org/test.html#class-testcontext
The before function was added to TestContext.v20.1.0, v18.17.0https://github.com/nodejs/node/pull/47586
context.beforehttps://beta.docs.nodejs.org/test.html#contextbeforefn-options
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
AsyncFunctionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/AsyncFunction
TestContexthttps://beta.docs.nodejs.org/test.html#class-testcontext
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
AbortSignalhttps://beta.docs.nodejs.org/globals.html#class-abortsignal
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
context.beforeEachhttps://beta.docs.nodejs.org/test.html#contextbeforeeachfn-options
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
AsyncFunctionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/AsyncFunction
TestContexthttps://beta.docs.nodejs.org/test.html#class-testcontext
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
AbortSignalhttps://beta.docs.nodejs.org/globals.html#class-abortsignal
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
context.afterhttps://beta.docs.nodejs.org/test.html#contextafterfn-options
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
AsyncFunctionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/AsyncFunction
TestContexthttps://beta.docs.nodejs.org/test.html#class-testcontext
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
AbortSignalhttps://beta.docs.nodejs.org/globals.html#class-abortsignal
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
context.afterEachhttps://beta.docs.nodejs.org/test.html#contextaftereachfn-options
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
AsyncFunctionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/AsyncFunction
TestContexthttps://beta.docs.nodejs.org/test.html#class-testcontext
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
AbortSignalhttps://beta.docs.nodejs.org/globals.html#class-abortsignal
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
context.asserthttps://beta.docs.nodejs.org/test.html#contextassert
context.assert.callCounthttps://beta.docs.nodejs.org/test.html#contextassertcallcountfn-times-message
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
context.assert.calledhttps://beta.docs.nodejs.org/test.html#contextassertcalledfn-message
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
context.assert.fileSnapshothttps://beta.docs.nodejs.org/test.html#contextassertfilesnapshotvalue-path-options
anyhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Data_types
--test-update-snapshotshttps://beta.docs.nodejs.org/cli.html#--test-update-snapshots
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
Arrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array
context.assert.lastCalledWithhttps://beta.docs.nodejs.org/test.html#contextassertlastcalledwithfn-args
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
anyhttps://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.nthCalledWithhttps://beta.docs.nodejs.org/test.html#contextassertnthcalledwithfn-n-args
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
integerhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
anyhttps://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.snapshothttps://beta.docs.nodejs.org/test.html#contextassertsnapshotvalue-options
anyhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Data_types
--test-update-snapshotshttps://beta.docs.nodejs.org/cli.html#--test-update-snapshots
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
Arrayhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array
context.diagnostichttps://beta.docs.nodejs.org/test.html#contextdiagnosticmessage
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
context.loghttps://beta.docs.nodejs.org/test.html#contextlogmessage-data
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
anyhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Data_types
HTML structured clone algorithmhttps://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Structured_clone_algorithm
context.diagnostichttps://beta.docs.nodejs.org/test.html#contextdiagnosticmessage
'test:log'https://beta.docs.nodejs.org/test.html#event-testlog
context.filePathhttps://beta.docs.nodejs.org/test.html#contextfilepath
context.fullNamehttps://beta.docs.nodejs.org/test.html#contextfullname
context.namehttps://beta.docs.nodejs.org/test.html#contextname
context.passedhttps://beta.docs.nodejs.org/test.html#contextpassed
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
context.errorhttps://beta.docs.nodejs.org/test.html#contexterror
Errorhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
nullhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#null_type
context.attempthttps://beta.docs.nodejs.org/test.html#contextattempt
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
context.tagshttps://beta.docs.nodejs.org/test.html#contexttags
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Test tagshttps://beta.docs.nodejs.org/test.html#test-tags
context.workerIdhttps://beta.docs.nodejs.org/test.html#contextworkerid
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
undefinedhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#undefined_type
context.planhttps://beta.docs.nodejs.org/test.html#contextplancountoptions
Add the options parameter.v23.9.0, v22.15.0https://github.com/nodejs/node/pull/56765
This function is no longer experimental.v23.4.0, v22.13.0https://github.com/nodejs/node/pull/55895
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
context.runOnlyhttps://beta.docs.nodejs.org/test.html#contextrunonlyshouldrunonlytests
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
--test-onlyhttps://beta.docs.nodejs.org/cli.html#--test-only
context.signalhttps://beta.docs.nodejs.org/test.html#contextsignal
AbortSignalhttps://beta.docs.nodejs.org/globals.html#class-abortsignal
context.skiphttps://beta.docs.nodejs.org/test.html#contextskipmessage
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
context.todohttps://beta.docs.nodejs.org/test.html#contexttodomessage
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
context.testhttps://beta.docs.nodejs.org/test.html#contexttestname-options-fn
Added the tags option.v26.2.0https://github.com/nodejs/node/pull/63221
Add a signal option.v18.8.0, v16.18.0https://github.com/nodejs/node/pull/43554
Add a timeout option.v18.7.0, v16.17.0https://github.com/nodejs/node/pull/43505
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
nullhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#null_type
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
AbortSignalhttps://beta.docs.nodejs.org/globals.html#class-abortsignal
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
--experimental-test-tag-filterhttps://beta.docs.nodejs.org/cli.html#--experimental-test-tag-filtertag
Test tagshttps://beta.docs.nodejs.org/test.html#test-tags
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
AsyncFunctionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/AsyncFunction
TestContexthttps://beta.docs.nodejs.org/test.html#class-testcontext
Promisehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise
test()https://beta.docs.nodejs.org/test.html#testname-options-fn
context.waitForhttps://beta.docs.nodejs.org/test.html#contextwaitforcondition-options
Functionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function
AsyncFunctionhttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/AsyncFunction
Objecthttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
Promisehttps://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise
SuiteContexthttps://beta.docs.nodejs.org/test.html#class-suitecontext
context.filePathhttps://beta.docs.nodejs.org/test.html#contextfilepath-1
context.fullNamehttps://beta.docs.nodejs.org/test.html#contextfullname-1
context.namehttps://beta.docs.nodejs.org/test.html#contextname-1
context.signalhttps://beta.docs.nodejs.org/test.html#contextsignal-1
AbortSignalhttps://beta.docs.nodejs.org/globals.html#class-abortsignal
context.passedhttps://beta.docs.nodejs.org/test.html#contextpassed-1
booleanhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#boolean_type
context.attempthttps://beta.docs.nodejs.org/test.html#contextattempt-1
numberhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#number_type
context.diagnostichttps://beta.docs.nodejs.org/test.html#contextdiagnosticmessage-1
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
context.loghttps://beta.docs.nodejs.org/test.html#contextlogmessage-data-1
stringhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#string_type
anyhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Data_types
'test:log'https://beta.docs.nodejs.org/test.html#event-testlog
Nextrunhttps://beta.docs.nodejs.org/test/run.html
JSONhttps://beta.docs.nodejs.org/test.json
MDhttps://beta.docs.nodejs.org/test.md
Edit this pagehttps://github.com/nodejs/node/edit/HEAD/doc/api/test.md
Subtestshttps://beta.docs.nodejs.org/test.html#subtests
Rerunning failed testshttps://beta.docs.nodejs.org/test.html#rerunning-failed-tests
describe() and it() aliaseshttps://beta.docs.nodejs.org/test.html#describe-and-it-aliases
Skipping testshttps://beta.docs.nodejs.org/test.html#skipping-tests
TODO testshttps://beta.docs.nodejs.org/test.html#todo-tests
Expecting tests to failhttps://beta.docs.nodejs.org/test.html#expecting-tests-to-fail
only testshttps://beta.docs.nodejs.org/test.html#only-tests
Filtering tests by namehttps://beta.docs.nodejs.org/test.html#filtering-tests-by-name
Test tagsEhttps://beta.docs.nodejs.org/test.html#test-tags
Authoring tagged testshttps://beta.docs.nodejs.org/test.html#authoring-tagged-tests
Filtering syntaxhttps://beta.docs.nodejs.org/test.html#filtering-syntax
Extraneous asynchronous activityhttps://beta.docs.nodejs.org/test.html#extraneous-asynchronous-activity
Watch modeEhttps://beta.docs.nodejs.org/test.html#watch-mode
Global setup and teardownEhttps://beta.docs.nodejs.org/test.html#global-setup-and-teardown
Running tests from the command linehttps://beta.docs.nodejs.org/test.html#running-tests-from-the-command-line
Randomizing tests execution orderEhttps://beta.docs.nodejs.org/test.html#randomizing-tests-execution-order
Test runner execution modelhttps://beta.docs.nodejs.org/test.html#test-runner-execution-model
Collecting code coverageEhttps://beta.docs.nodejs.org/test.html#collecting-code-coverage
Coverage reportershttps://beta.docs.nodejs.org/test.html#coverage-reporters
Mockinghttps://beta.docs.nodejs.org/test.html#mocking
Timershttps://beta.docs.nodejs.org/test.html#timers
Dateshttps://beta.docs.nodejs.org/test.html#dates
Snapshot testinghttps://beta.docs.nodejs.org/test.html#snapshot-testing
Test reportershttps://beta.docs.nodejs.org/test.html#test-reporters
Custom reportershttps://beta.docs.nodejs.org/test.html#custom-reporters
Multiple reportershttps://beta.docs.nodejs.org/test.html#multiple-reporters
runhttps://beta.docs.nodejs.org/test.html#runoptions
suitehttps://beta.docs.nodejs.org/test.html#suitename-options-fn
suite.skiphttps://beta.docs.nodejs.org/test.html#suiteskipname-options-fn
suite.todohttps://beta.docs.nodejs.org/test.html#suitetodoname-options-fn
suite.onlyhttps://beta.docs.nodejs.org/test.html#suiteonlyname-options-fn
testhttps://beta.docs.nodejs.org/test.html#testname-options-fn
test.skiphttps://beta.docs.nodejs.org/test.html#testskipname-options-fn
test.todohttps://beta.docs.nodejs.org/test.html#testtodoname-options-fn
test.onlyhttps://beta.docs.nodejs.org/test.html#testonlyname-options-fn
describehttps://beta.docs.nodejs.org/test.html#describename-options-fn
describe.skiphttps://beta.docs.nodejs.org/test.html#describeskipname-options-fn
describe.todohttps://beta.docs.nodejs.org/test.html#describetodoname-options-fn
describe.onlyhttps://beta.docs.nodejs.org/test.html#describeonlyname-options-fn
ithttps://beta.docs.nodejs.org/test.html#itname-options-fn
it.skiphttps://beta.docs.nodejs.org/test.html#itskipname-options-fn
it.todohttps://beta.docs.nodejs.org/test.html#ittodoname-options-fn
it.onlyhttps://beta.docs.nodejs.org/test.html#itonlyname-options-fn
beforehttps://beta.docs.nodejs.org/test.html#beforefn-options
afterhttps://beta.docs.nodejs.org/test.html#afterfn-options
beforeEachhttps://beta.docs.nodejs.org/test.html#beforeeachfn-options
afterEachhttps://beta.docs.nodejs.org/test.html#aftereachfn-options
asserthttps://beta.docs.nodejs.org/test.html#assert
assert.registerhttps://beta.docs.nodejs.org/test.html#assertregistername-fn
snapshothttps://beta.docs.nodejs.org/test.html#snapshot
snapshot.setDefaultSnapshotSerializershttps://beta.docs.nodejs.org/test.html#snapshotsetdefaultsnapshotserializersserializers
snapshot.setResolveSnapshotPathhttps://beta.docs.nodejs.org/test.html#snapshotsetresolvesnapshotpathfn
MockFunctionContexthttps://beta.docs.nodejs.org/test.html#class-mockfunctioncontext
ctx.callshttps://beta.docs.nodejs.org/test.html#ctxcalls
ctx.callCounthttps://beta.docs.nodejs.org/test.html#ctxcallcount
ctx.mockImplementationhttps://beta.docs.nodejs.org/test.html#ctxmockimplementationimplementation
ctx.mockImplementationOncehttps://beta.docs.nodejs.org/test.html#ctxmockimplementationonceimplementation-oncall
ctx.resetCallshttps://beta.docs.nodejs.org/test.html#ctxresetcalls
ctx.restorehttps://beta.docs.nodejs.org/test.html#ctxrestore
MockModuleContextEhttps://beta.docs.nodejs.org/test.html#class-mockmodulecontext
ctx.restorehttps://beta.docs.nodejs.org/test.html#ctxrestore-1
MockPropertyContexthttps://beta.docs.nodejs.org/test.html#class-mockpropertycontext
ctx.accesseshttps://beta.docs.nodejs.org/test.html#ctxaccesses
ctx.accessCounthttps://beta.docs.nodejs.org/test.html#ctxaccesscount
ctx.mockImplementationhttps://beta.docs.nodejs.org/test.html#ctxmockimplementationvalue
ctx.mockImplementationOncehttps://beta.docs.nodejs.org/test.html#ctxmockimplementationoncevalue-onaccess
ctx.resetAccesseshttps://beta.docs.nodejs.org/test.html#ctxresetaccesses
ctx.restorehttps://beta.docs.nodejs.org/test.html#ctxrestore-2
MockTrackerhttps://beta.docs.nodejs.org/test.html#class-mocktracker
mock.fnhttps://beta.docs.nodejs.org/test.html#mockfnoriginal-implementation-options
mock.getterhttps://beta.docs.nodejs.org/test.html#mockgetterobject-methodname-implementation-options
mock.methodhttps://beta.docs.nodejs.org/test.html#mockmethodobject-methodname-implementation-options
mock.moduleEhttps://beta.docs.nodejs.org/test.html#mockmodulespecifier-options
mock.propertyhttps://beta.docs.nodejs.org/test.html#mockpropertyobject-propertyname-value
mock.resethttps://beta.docs.nodejs.org/test.html#mockreset
mock.restoreAllhttps://beta.docs.nodejs.org/test.html#mockrestoreall
mock.setterhttps://beta.docs.nodejs.org/test.html#mocksetterobject-methodname-implementation-options
MockTimershttps://beta.docs.nodejs.org/test.html#class-mocktimers
timers.enablehttps://beta.docs.nodejs.org/test.html#timersenableenableoptions
timers.resethttps://beta.docs.nodejs.org/test.html#timersreset
timers[Symbol.dispose]https://beta.docs.nodejs.org/test.html#timerssymboldispose
timers.tickhttps://beta.docs.nodejs.org/test.html#timerstickmilliseconds
timers.runAllhttps://beta.docs.nodejs.org/test.html#timersrunall
timers.setTimehttps://beta.docs.nodejs.org/test.html#timerssettimemilliseconds
TestsStreamhttps://beta.docs.nodejs.org/test.html#class-testsstream
Event lifecyclehttps://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
getTestContexthttps://beta.docs.nodejs.org/test.html#gettestcontext
Test instrumentation and OpenTelemetryhttps://beta.docs.nodejs.org/test.html#test-instrumentation-and-opentelemetry
Tracing eventshttps://beta.docs.nodejs.org/test.html#tracing-events
Context propagation with bindStore()https://beta.docs.nodejs.org/test.html#context-propagation-with-bindstore
TestContexthttps://beta.docs.nodejs.org/test.html#class-testcontext
context.beforehttps://beta.docs.nodejs.org/test.html#contextbeforefn-options
context.beforeEachhttps://beta.docs.nodejs.org/test.html#contextbeforeeachfn-options
context.afterhttps://beta.docs.nodejs.org/test.html#contextafterfn-options
context.afterEachhttps://beta.docs.nodejs.org/test.html#contextaftereachfn-options
context.asserthttps://beta.docs.nodejs.org/test.html#contextassert
context.diagnostichttps://beta.docs.nodejs.org/test.html#contextdiagnosticmessage
context.loghttps://beta.docs.nodejs.org/test.html#contextlogmessage-data
context.filePathhttps://beta.docs.nodejs.org/test.html#contextfilepath
context.fullNamehttps://beta.docs.nodejs.org/test.html#contextfullname
context.namehttps://beta.docs.nodejs.org/test.html#contextname
context.passedhttps://beta.docs.nodejs.org/test.html#contextpassed
context.errorhttps://beta.docs.nodejs.org/test.html#contexterror
context.attempthttps://beta.docs.nodejs.org/test.html#contextattempt
context.tagsEhttps://beta.docs.nodejs.org/test.html#contexttags
context.workerIdhttps://beta.docs.nodejs.org/test.html#contextworkerid
context.planhttps://beta.docs.nodejs.org/test.html#contextplancountoptions
context.runOnlyhttps://beta.docs.nodejs.org/test.html#contextrunonlyshouldrunonlytests
context.signalhttps://beta.docs.nodejs.org/test.html#contextsignal
context.skiphttps://beta.docs.nodejs.org/test.html#contextskipmessage
context.todohttps://beta.docs.nodejs.org/test.html#contexttodomessage
context.testhttps://beta.docs.nodejs.org/test.html#contexttestname-options-fn
context.waitForhttps://beta.docs.nodejs.org/test.html#contextwaitforcondition-options
SuiteContexthttps://beta.docs.nodejs.org/test.html#class-suitecontext
context.filePathhttps://beta.docs.nodejs.org/test.html#contextfilepath-1
context.fullNamehttps://beta.docs.nodejs.org/test.html#contextfullname-1
context.namehttps://beta.docs.nodejs.org/test.html#contextname-1
context.signalhttps://beta.docs.nodejs.org/test.html#contextsignal-1
context.passedhttps://beta.docs.nodejs.org/test.html#contextpassed-1
context.attempthttps://beta.docs.nodejs.org/test.html#contextattempt-1
context.diagnostichttps://beta.docs.nodejs.org/test.html#contextdiagnosticmessage-1
context.loghttps://beta.docs.nodejs.org/test.html#contextlogmessage-data-1

Viewport: width=device-width, initial-scale=1.0


URLs of crawlers that visited me.