fix(ext/node): add node:test/reporters builtin (#34595)
Adds the missing `node:test/reporters` builtin module and wires it
through ESM, CommonJS, and the node resolver built-in allowlist.
The module exports the documented built-in reporters (`tap`, `dot`,
`junit`, `spec`, and `lcov`) and includes a regression spec for
`node:test/reporters` resolution and TAP output.
Closes denoland/orchid#343
Fixes https://github.com/denoland/deno/issues/31206
Validation:
- `CARGO_INCREMENTAL=0 cargo build --bin deno --bin test_server`
- `./target/debug/deno run
tests/specs/node/node_test_reporters/main.mjs`
- `cargo test -p specs_tests --test specs -- node_test_reporters
--no-capture`
- `cargo test -p node_resolver test_builtins_are_sorted`
- `cargo fmt --check`
- `./target/debug/deno fmt --check ext/node/polyfills/test/reporters.ts
ext/node/polyfills/test/reporters_esm.ts
tests/specs/node/node_test_reporters/main.mjs
tests/specs/node/node_test_reporters/__test__.jsonc`
Co-authored-by: divybot <divybot@users.noreply.github.com>
Co-authored-by: Divy Srivastava <me@littledivy.com>