1
mirror of https://github.com/jakejarvis/careful-downloader.git synced 2025-06-27 17:25:42 -04:00

increase timeout to an excessive 30 seconds for CI

This commit is contained in:
2021-10-06 10:30:03 -04:00
parent 8997d4f3a4
commit c2bc25f5ca
2 changed files with 4 additions and 1 deletions

View File

@ -19,4 +19,5 @@ jobs:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: | run: |
yarn install --frozen-lockfile yarn install --frozen-lockfile
yarn test
yarn publish yarn publish

View File

@ -6,7 +6,9 @@ import { expect } from "chai";
import downloader from "../index.js"; import downloader from "../index.js";
it("hugo.exe was downloaded and extracted", async () => { it("hugo.exe was downloaded and extracted", async function () {
this.timeout(30000); // increase timeout to an excessive 30 seconds for CI
const outDir = path.join(tempy.directory()); const outDir = path.join(tempy.directory());
await downloader( await downloader(