aboutsummaryrefslogtreecommitdiff
path: root/test/bun.js/os.test.js
diff options
context:
space:
mode:
authorGravatar Justin Whear <justin.whear@gmail.com> 2023-02-16 15:05:15 -0800
committerGravatar GitHub <noreply@github.com> 2023-02-16 15:05:15 -0800
commitd95404fd7a096c58bf7c3d844e6fac13dd9c7d22 (patch)
tree0c577de8a502422799c363e1ef92f65a5dbeddda /test/bun.js/os.test.js
parent7762f3fad739e7c50f0ebe29b22b55a8daf7f559 (diff)
downloadbun-d95404fd7a096c58bf7c3d844e6fac13dd9c7d22.tar.gz
bun-d95404fd7a096c58bf7c3d844e6fac13dd9c7d22.tar.zst
bun-d95404fd7a096c58bf7c3d844e6fac13dd9c7d22.zip
Implement `machine` for Linux (#2088)
Diffstat (limited to '')
-rw-r--r--test/bun.js/os.test.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/bun.js/os.test.js b/test/bun.js/os.test.js
index c907e74ef..9ae82d8ae 100644
--- a/test/bun.js/os.test.js
+++ b/test/bun.js/os.test.js
@@ -115,6 +115,10 @@ it("networkInterfaces", () => {
}
});
+it("machine", () => {
+ expect(os.machine().length > 1).toBe(true);
+});
+
it("EOL", () => {
if (process.platform === "win32") expect(os.EOL).toBe("\\r\\n");
else expect(os.EOL).toBe("\n");