Files
node/doc/api
sangwook 7d1f1b4483 test_runner: add exports option for module mocks
Add options.exports support in mock.module() and normalize option

shapes through a shared exports path.

Keep defaultExport and namedExports as aliases, emit runtime

deprecation warnings for legacy options, and update docs and tests,

including output fixtures and coverage snapshots.

Refs: https://github.com/nodejs/node/issues/58443
PR-URL: https://github.com/nodejs/node/pull/61727
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Jacob Smith <jacob@frende.me>
Reviewed-By: Pietro Marchini <pietro.marchini94@gmail.com>
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day>
Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
2026-03-27 15:52:13 +00:00
..
2026-03-09 21:38:13 +00:00
2026-03-23 19:39:10 +00:00
2025-07-15 17:18:42 +00:00
2024-11-01 03:43:53 +00:00
2026-02-24 10:24:26 -05:00
2025-11-08 17:09:29 +00:00
2026-03-03 08:25:12 +00:00
2025-12-16 20:31:28 +00:00
2026-02-09 15:32:50 +00:00
2025-07-15 17:18:42 +00:00
2025-07-15 17:18:42 +00:00
2025-08-29 02:24:57 +00:00
2026-03-12 16:35:31 +00:00
2026-03-03 15:50:38 +00:00
2026-02-24 10:24:26 -05:00
2025-06-09 23:45:29 +02:00
2025-07-15 17:18:42 +00:00
2025-07-15 17:18:42 +00:00
2026-03-22 21:48:57 +00:00
2025-12-16 20:31:28 +00:00