node/lib/internal
Colin Ihrig 059e08bb21
test_runner: add 'test:summary' event
This commit adds a new 'test:summary' event to the test runner's
reporting interface. This new event serves two purposes:

- In the future, the test runner internals will no longer need to
  change the process exit code. This may be important to run()
  users. Unfortunately, this is a breaking change, so it needs to
  be changed in a major version.
- The reporting interface now has a single event that can identify
  passing or failing test runs.

Refs: https://github.com/nodejs/node/issues/53867
Refs: https://github.com/nodejs/node/issues/54812
PR-URL: https://github.com/nodejs/node/pull/54851
Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
2024-09-21 17:41:52 +00:00
..
assert test_runner: reimplement assert.ok to allow stack parsing 2024-09-15 15:53:18 +00:00
async_local_storage lib: improve async_context_frame structure 2024-08-09 19:44:42 +00:00
bootstrap process: port on-exit-leak-free to core 2024-07-11 17:57:20 +00:00
child_process tools: add lint rule to keep primordials in ASCII order 2024-04-21 16:53:08 +00:00
cluster lib: improve cluster/primary code 2024-07-21 22:23:17 +00:00
console console: use validateOneOf for colorMode validation 2024-08-10 01:49:40 +00:00
crypto crypto: add Date fields for validTo and validFrom 2024-09-18 00:56:24 +00:00
debugger
dns lib: enforce ASCII order in error code imports 2024-04-23 17:05:38 +00:00
events lib: move Symbol[Async]Dispose polyfills to internal/util 2024-09-10 21:24:56 +00:00
fs lib: move Symbol[Async]Dispose polyfills to internal/util 2024-09-10 21:24:56 +00:00
http2 lib: move Symbol[Async]Dispose polyfills to internal/util 2024-09-10 21:24:56 +00:00
legacy tools: add lint rule to keep primordials in ASCII order 2024-04-21 16:53:08 +00:00
main test_runner: add 'test:summary' event 2024-09-21 17:41:52 +00:00
modules module: implement flushCompileCache() 2024-09-20 19:05:07 +00:00
per_context lib: move Symbol[Async]Dispose polyfills to internal/util 2024-09-10 21:24:56 +00:00
perf src,lib: add performance.uvMetricsInfo 2024-08-30 14:22:28 +00:00
process lib: move Symbol[Async]Dispose polyfills to internal/util 2024-09-10 21:24:56 +00:00
readline lib: move Symbol[Async]Dispose polyfills to internal/util 2024-09-10 21:24:56 +00:00
repl repl: fix await object patterns without values 2024-06-07 01:24:32 +00:00
source_map lib: decorate async stack trace in source maps 2024-07-18 14:45:43 +00:00
streams lib: move Symbol[Async]Dispose polyfills to internal/util 2024-09-10 21:24:56 +00:00
test
test_runner test_runner: add 'test:summary' event 2024-09-21 17:41:52 +00:00
tls tls: add allowPartialTrustChain flag 2024-09-09 17:24:10 +02:00
util util: update ansi regex 2024-09-21 09:27:57 -07:00
v8 lib: enforce ASCII order in error code imports 2024-04-23 17:05:38 +00:00
vm vm: fix ASCII-betical order 2024-04-25 19:14:16 +00:00
watch_mode test_runner: ensure test watcher picks up new test files 2024-08-29 08:55:34 +00:00
webstreams lib,src: use built-in array buffer detach, transfer 2024-09-16 00:32:04 +00:00
worker worker: add postMessageToThread 2024-07-09 07:16:04 +00:00
abort_controller.js lib: propagate aborted state to dependent signals before firing events 2024-09-21 09:07:08 -07:00
assert.js
async_context_frame.js async_hooks: add an InactiveAsyncContextFrame class 2024-08-30 20:27:28 +00:00
async_hooks.js tools: add lint rule to keep primordials in ASCII order 2024-04-21 16:53:08 +00:00
blob.js buffer: add JSDoc to blob bytes method 2024-08-05 00:29:07 +00:00
blocklist.js
buffer.js buffer: truncate instead of throw when writing beyond buffer 2024-08-27 08:48:52 +00:00
child_process.js lib: move Symbol[Async]Dispose polyfills to internal/util 2024-09-10 21:24:56 +00:00
cli_table.js
constants.js
data_url.js esm: use Undici/fetch data: URL parser 2024-09-07 10:22:03 +02:00
dgram.js lib: enforce ASCII order in error code imports 2024-04-23 17:05:38 +00:00
encoding.js
error_serdes.js tools: add lint rule to keep primordials in ASCII order 2024-04-21 16:53:08 +00:00
errors.js zlib: throw brotli initialization error from c++ 2024-09-21 09:23:59 -07:00
event_target.js events: allow null/undefined eventInitDict 2024-09-21 09:08:39 -07:00
file.js
fixed_queue.js lib: ensure no holey array in fixed_queue 2024-09-02 01:42:44 +00:00
freelist.js
freeze_intrinsics.js tools: add lint rule to keep primordials in ASCII order 2024-04-21 16:53:08 +00:00
heap_utils.js tools: add lint rule to keep primordials in ASCII order 2024-04-21 16:53:08 +00:00
histogram.js lib: enforce ASCII order in error code imports 2024-04-23 17:05:38 +00:00
http.js src,lib: expose getCategoryEnabledBuffer to use on node.http 2024-07-16 18:40:22 +00:00
idna.js
inspector_async_hook.js tools: add lint rule to keep primordials in ASCII order 2024-04-21 16:53:08 +00:00
inspector_network_tracking.js inspector: support Network.loadingFailed event 2024-08-11 11:42:01 +00:00
js_stream_socket.js
linkedlist.js
mime.js
navigator.js src: use v8::Isolate::GetDefaultLocale() to compute navigator.language 2024-08-29 03:25:51 +00:00
net.js lib: enforce ASCII order in error code imports 2024-04-23 17:05:38 +00:00
options.js src: reduce unnecessary serialization of CLI options in C++ 2024-05-02 22:57:03 +00:00
priority_queue.js
promise_hooks.js tools: add lint rule to keep primordials in ASCII order 2024-04-21 16:53:08 +00:00
querystring.js
README.md lib, doc: rename readme.md to README.md 2024-04-14 10:30:31 +00:00
repl.js
socket_list.js
socketaddress.js
stream_base_commons.js stream: relocate the status checking code in the onwritecomplete 2024-09-02 07:29:17 +00:00
timers.js lib: improve async_context_frame structure 2024-08-09 19:44:42 +00:00
trace_events_async_hooks.js
tty.js
url.js path: fix bugs and inconsistencies 2024-09-14 14:56:31 +00:00
util.js lib,src: use built-in array buffer detach, transfer 2024-09-16 00:32:04 +00:00
v8_prof_polyfill.js
v8_prof_processor.js
validators.js zlib: simplify validators 2024-08-27 14:58:36 +00:00
vm.js
wasm_web_api.js
watchdog.js
webidl.js lib: convert signals to array before validation 2024-09-06 17:40:21 +00:00
webstorage.js src: move ToNamespacedPath call of webstorage 2024-07-21 20:49:10 +00:00
worker.js worker: add postMessageToThread 2024-07-09 07:16:04 +00:00

Internal Modules

The modules in lib/internal are intended for internal use in Node.js core only, and are not accessible with require() from user modules. These modules can be changed at any time. Reliance on these modules outside of core is not supported in any way.