setup-cpp/src/git/__tests__/git.test.ts

13 lines
406 B
TypeScript

import type { InstallationInfo } from "../../utils/setup/setupBin.js"
import { testBin } from "../../utils/tests/test-helpers.js"
import { setupGit } from "../git.js"
jest.setTimeout(300000)
describe("setup-git", () => {
it("should setup git", async () => {
const installInfo = await setupGit()
await testBin("git", ["--version"], (installInfo as InstallationInfo | undefined)?.binDir)
})
})