Skip to content

Commit 99a1254

Browse files
committed
test: skip graphviz test on Macos 11 and older
1 parent 32bae2b commit 99a1254

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

src/graphviz/__tests__/graphviz.test.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { cleanupTmpDir, setupTmpDir, testBin } from "../../utils/tests/test-help
33
import { InstallationInfo } from "../../utils/setup/setupBin"
44
import { getVersion } from "../../versions/versions"
55
import { ubuntuVersion } from "../../utils/env/ubuntu_version"
6+
import { macosVersion } from "../../utils/env/macos_version"
67

78
jest.setTimeout(300000)
89
describe("setup-graphviz", () => {
@@ -12,6 +13,11 @@ describe("setup-graphviz", () => {
1213
})
1314

1415
it("should setup graphviz", async () => {
16+
if (macosVersion()[0] <= 11) {
17+
test.todo("Skipping graphviz test on macOS 11 or earlier")
18+
return
19+
}
20+
1521
const installInfo = await setupGraphviz(
1622
getVersion("graphviz", undefined, await ubuntuVersion()),
1723
directory,

src/nala/__tests__/nala.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { execRootSync } from "admina"
66
jest.setTimeout(300000)
77
describe("setup-nala", () => {
88
if (!isUbuntu()) {
9-
test.skip("should setup nala", () => {})
9+
test.todo("should setup nala")
1010
return
1111
}
1212
it("should setup nala", async () => {

0 commit comments

Comments
 (0)