diff options
author | 2023-07-20 19:16:56 -0700 | |
---|---|---|
committer | 2023-07-20 19:16:56 -0700 | |
commit | 9c85465a583397d9b264854efa974fc1a381bf79 (patch) | |
tree | 0a2068e4583bfd75e6058f0fdd4f6bc1b8b55657 /test/js/node/process/process.test.js | |
parent | 2eb79afb2ad8856cc15c98bc81d7031a0a33bb23 (diff) | |
download | bun-9c85465a583397d9b264854efa974fc1a381bf79.tar.gz bun-9c85465a583397d9b264854efa974fc1a381bf79.tar.zst bun-9c85465a583397d9b264854efa974fc1a381bf79.zip |
fix process.exit status code handling (#3714)
Diffstat (limited to 'test/js/node/process/process.test.js')
-rw-r--r-- | test/js/node/process/process.test.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/test/js/node/process/process.test.js b/test/js/node/process/process.test.js index 765a0a845..908485422 100644 --- a/test/js/node/process/process.test.js +++ b/test/js/node/process/process.test.js @@ -242,7 +242,6 @@ describe("process.exitCode", () => { expect(() => (process.exitCode = NaN)).toThrow('The "code" argument must be an integer'); expect(() => (process.exitCode = Infinity)).toThrow('The "code" argument must be an integer'); expect(() => (process.exitCode = -Infinity)).toThrow('The "code" argument must be an integer'); - expect(() => (process.exitCode = -1)).toThrow("exitCode must be between 0 and 127"); }); it("works with implicit process.exit", () => { |