0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-10-30 09:08:00 -04:00
denoland-deno/cli/tests
Marvin Hagemeister d0efd040c7
fix(node): add missing process.reallyExit method (#19326)
This PR adds the missing `process.reallyExit()` method to node's
`process` object.

Was [pinged on
twitter](https://twitter.com/biwanczuk/status/1663326659787862017)
regarding running the `fastify` test suite in node. They use `node-tap`
which has been around arguably the longest of the test frameworks and
relies on a couple of old APIs. They have `signal-exit` as a dependency
which in turn [makes use of
`process.reallyExit()`](8fa7fc9a9c/src/index.ts (L19)).
That function cannot be found anywhere in their documentation, but
exists at runtime. See
6a6b3c5402/lib/internal/bootstrap/node.js (L172)

This doesn't yet make `node-tap` work, but gets us one step closer.
2023-05-31 12:20:38 +02:00
..
integration test(ext/node): add os_test.ts (#19305) 2023-05-29 15:03:14 +02:00
node_compat fix: use proper ALPN protocols if HTTP client is HTTP/1.1 only (#19303) 2023-05-29 23:05:45 +02:00
testdata refactor(core): remove ext: modules from the module map (#19040) 2023-05-28 12:44:41 -06:00
unit feat(ext/fs): add isBlockDevice, isCharDevice, isFifo, isSocket to FileInfo (#19008) 2023-05-24 21:18:13 +02:00
unit_node fix(node): add missing process.reallyExit method (#19326) 2023-05-31 12:20:38 +02:00
integration_tests.rs tests: move integration tests to a single module (#17380) 2023-01-13 02:59:13 +01:00