setup-cpp
Version:
Install all the tools required for building and testing C++/C projects.
13 lines (10 loc) • 435 B
text/typescript
import type { InstallationInfo } from "../../utils/setup/setupBin.js"
import { testBin } from "../../utils/tests/test-helpers.js"
import { setupSevenZip } from "../sevenzip.js"
jest.setTimeout(300000)
describe("setup-7z", () => {
it("should setup 7z", async () => {
const installInfo = await setupSevenZip("", "", process.arch)
await testBin("7z", ["--help"], (installInfo as InstallationInfo | undefined)?.binDir)
})
})