diff options
author | 2023-03-19 14:08:20 -0700 | |
---|---|---|
committer | 2023-03-19 14:08:20 -0700 | |
commit | 5a23d176208bb38483b65b9420b18c8597fabfef (patch) | |
tree | f163dc03fdc75b7827ee7f51e17355a9cc82329f /test/js/node/os/os.test.js | |
parent | 8f02ef829474cbd5453ffcb6485d40f93424ad26 (diff) | |
download | bun-5a23d176208bb38483b65b9420b18c8597fabfef.tar.gz bun-5a23d176208bb38483b65b9420b18c8597fabfef.tar.zst bun-5a23d176208bb38483b65b9420b18c8597fabfef.zip |
Several bug fixes (#2427)
* Fix test
* Fix segfault when unexpected type is passed in `expect().toThrow`
* Fix issues with request constructor
* Don't bother cloning headers when its empty
* woops
* more tests
* fix incorrect test
* Make the fetch error messages better
* Update response.zig
* Fix test that failed on macOS
* Fix test
* Remove extra hash table lookups
* Support running dummy registry directly
cc @alexlamsl
* Update test
* Update test
* fixup
* Workaround crash in test runner
* Fixup test
* Fixup test
* Update os.test.js
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
Diffstat (limited to 'test/js/node/os/os.test.js')
-rw-r--r-- | test/js/node/os/os.test.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/js/node/os/os.test.js b/test/js/node/os/os.test.js index ea685cdb7..d7cc41031 100644 --- a/test/js/node/os/os.test.js +++ b/test/js/node/os/os.test.js @@ -79,7 +79,7 @@ it("userInfo", () => { if (process.platform !== "win32") { expect(info.username).toBe(process.env.USER); - expect(info.shell).toBe(process.env.SHELL); + expect(info.shell).toBe(process.env.SHELL || "unknown"); expect(info.uid >= 0).toBe(true); expect(info.gid >= 0).toBe(true); } else { |