diff --git a/src/cmake/__tests__/cmake.test.ts b/src/cmake/__tests__/cmake.test.ts index 38c0c47a..3f0b45c3 100644 --- a/src/cmake/__tests__/cmake.test.ts +++ b/src/cmake/__tests__/cmake.test.ts @@ -2,7 +2,7 @@ import { setupCmake } from "../cmake" import { spawnSync as spawn } from "child_process" import { setupTmpDir, cleanupTmpDir } from "../../utils/tests/test-helpers" -jest.setTimeout(30 * 1000) +jest.setTimeout(100000) describe("setup-cmake", () => { beforeEach(async () => { diff --git a/src/cmake/cmake.ts b/src/cmake/cmake.ts index 5433a701..a18c3540 100644 --- a/src/cmake/cmake.ts +++ b/src/cmake/cmake.ts @@ -48,7 +48,7 @@ function getCmakePackageInfo(version: string, platform?: NodeJS.Platform): Packa const folderName = `cmake-${version}-${osArchStr}` return { binRelativeDir: "bin/", - extractedFolderName: ".tar.gz", + extractedFolderName: folderName, extractFunction: extractTar, url: `https://github.com/Kitware/CMake/releases/download/v${version}/${folderName}.tar.gz`, } diff --git a/src/ninja/__tests__/ninja.test.ts b/src/ninja/__tests__/ninja.test.ts index c3b234a2..9811777e 100644 --- a/src/ninja/__tests__/ninja.test.ts +++ b/src/ninja/__tests__/ninja.test.ts @@ -2,7 +2,7 @@ import { setupNinja } from "../ninja" import { spawnSync as spawn } from "child_process" import { setupTmpDir, cleanupTmpDir } from "../../utils/tests/test-helpers" -jest.setTimeout(30 * 1000) +jest.setTimeout(100000) describe("setup-ninja", () => { beforeEach(async () => {