diff options
Diffstat (limited to 'test/bun.js/os.test.js')
-rw-r--r-- | test/bun.js/os.test.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/bun.js/os.test.js b/test/bun.js/os.test.js index 87c03d5d4..122969337 100644 --- a/test/bun.js/os.test.js +++ b/test/bun.js/os.test.js @@ -110,7 +110,8 @@ it("networkInterfaces", () => { expect(typeof nI.family === "string").toBe(true); expect(typeof nI.mac === "string").toBe(true); expect(typeof nI.internal === "boolean").toBe(true); - expect(typeof nI.cidr).toBe("string"); + if (nI.cidr) // may be null + expect(typeof nI.cidr).toBe("string"); } } }); |