Skip to content

Commit

Permalink
test: skip graphviz test on Macos 11 and older
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Feb 17, 2024
1 parent 32bae2b commit f84aabe
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/graphviz/__tests__/graphviz.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { cleanupTmpDir, setupTmpDir, testBin } from "../../utils/tests/test-help
import { InstallationInfo } from "../../utils/setup/setupBin"
import { getVersion } from "../../versions/versions"
import { ubuntuVersion } from "../../utils/env/ubuntu_version"
import { macosVersion } from "../../utils/env/macos_version"

jest.setTimeout(300000)
describe("setup-graphviz", () => {
Expand All @@ -12,6 +13,11 @@ describe("setup-graphviz", () => {
})

it("should setup graphviz", async () => {
if (macosVersion()[0] <= 11) {
test.skip("Skipping graphviz test on macOS 11 or earlier")
return
}

const installInfo = await setupGraphviz(
getVersion("graphviz", undefined, await ubuntuVersion()),
directory,
Expand Down

0 comments on commit f84aabe

Please sign in to comment.