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

16 lines
369 B
TypeScript
Raw Normal View History

2021-11-22 00:49:22 +08:00
import { setupVcpkg } from "../vcpkg"
import { testBin } from "../../utils/tests/test-helpers"
jest.setTimeout(300000)
async function testvcpkg() {
const { binDir } = await setupVcpkg("", "", "")
await testBin("vcpkg", ["--version"], binDir)
return binDir
}
describe("setup-vcpkg", () => {
it("should setup vcpkg", async () => {
await testvcpkg()
})
})