aboutsummaryrefslogtreecommitdiff
path: root/test/bun.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/bun.js')
-rw-r--r--test/bun.js/os.test.js16
1 files changed, 15 insertions, 1 deletions
diff --git a/test/bun.js/os.test.js b/test/bun.js/os.test.js
index 9ae82d8ae..87c03d5d4 100644
--- a/test/bun.js/os.test.js
+++ b/test/bun.js/os.test.js
@@ -116,7 +116,21 @@ it("networkInterfaces", () => {
});
it("machine", () => {
- expect(os.machine().length > 1).toBe(true);
+ const possibleValues = [
+ "arm",
+ "arm64",
+ "aarch64",
+ "mips",
+ "mips64",
+ "ppc64",
+ "ppc64le",
+ "s390",
+ "s390x",
+ "i386",
+ "i686",
+ "x86_64",
+ ];
+ expect(possibleValues.includes(os.machine())).toBe(true);
});
it("EOL", () => {