Skip to content

Commit 4af1f36

Browse files
committed
Update ubuntu version used in tests
1 parent 5040710 commit 4af1f36

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

__tests__/os.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ const setSystem = require("getos").__setSystem;
66

77
describe("os resolver", () => {
88
it("finds matching system and version", async () => {
9-
setSystem({ os: "linux", dist: "Ubuntu", release: "18.04" });
9+
setSystem({ os: "linux", dist: "Ubuntu", release: "22.04" });
1010

1111
let ubuntu = await os.getSystem();
1212
expect(ubuntu.os).toBe(os.OS.Ubuntu);
13-
expect(ubuntu.version).toBe("18.04");
13+
expect(ubuntu.version).toBe("22.04");
1414
expect(ubuntu.name).toBe("Ubuntu");
1515

1616
setSystem({ os: "darwin", dist: "macOS", release: "latest" });

0 commit comments

Comments
 (0)