1
mirror of https://github.com/jakejarvis/hugo-extended.git synced 2026-06-13 00:35:28 -04:00

increase timeout to an excessive 30 seconds for CI

This commit is contained in:
2021-10-06 10:37:52 -04:00
parent 9387ba950d
commit bf8f731e49
3 changed files with 9 additions and 7 deletions
+1 -1
View File
@@ -27,7 +27,7 @@
"exports": "./index.js", "exports": "./index.js",
"types": "./index.d.ts", "types": "./index.d.ts",
"dependencies": { "dependencies": {
"careful-downloader": "^1.0.0", "careful-downloader": "^1.0.1",
"chalk": "^4.1.2", "chalk": "^4.1.2",
"read-pkg-up": "^8.0.0" "read-pkg-up": "^8.0.0"
}, },
+4 -2
View File
@@ -4,8 +4,10 @@ import { execFile } from "child_process";
import assert from "assert"; import assert from "assert";
import hugo from "../index.js"; import hugo from "../index.js";
it("Hugo exists and runs?", async () => { it("Hugo exists and runs?", async function () {
assert(execFile(hugo, ["env"], (error, stdout) => { this.timeout(30000); // increase timeout to an excessive 30 seconds for CI
assert(execFile(hugo, ["env"], function (error, stdout) {
if (error) { if (error) {
throw error; throw error;
} }
+4 -4
View File
@@ -399,10 +399,10 @@ caniuse-lite@^1.0.30001251, caniuse-lite@^1.0.30001264:
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001265.tgz#0613c9e6c922e422792e6fcefdf9a3afeee4f8c3" resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001265.tgz#0613c9e6c922e422792e6fcefdf9a3afeee4f8c3"
integrity sha512-YzBnspggWV5hep1m9Z6sZVLOt7vrju8xWooFAgN6BA5qvy98qPAPb7vNUzypFaoh2pb3vlfzbDO8tB57UPGbtw== integrity sha512-YzBnspggWV5hep1m9Z6sZVLOt7vrju8xWooFAgN6BA5qvy98qPAPb7vNUzypFaoh2pb3vlfzbDO8tB57UPGbtw==
careful-downloader@^1.0.0: careful-downloader@^1.0.1:
version "1.0.0" version "1.0.1"
resolved "https://registry.yarnpkg.com/careful-downloader/-/careful-downloader-1.0.0.tgz#97663659f3550c5f353b52c5c4f44d85e3a24da8" resolved "https://registry.yarnpkg.com/careful-downloader/-/careful-downloader-1.0.1.tgz#c13cfddf82e34a68eeda10095471b8bd87259f6c"
integrity sha512-MJ9X+dughlbC2oEwKU4CMkgTTgVp7N+4A2eR4jsoG7mSWyVe28dzZGZt7Bii5lfxKSOI8jyDBL0/c0yxCjURdA== integrity sha512-vOwxDQxt1SWXX1lhJ+oBx4MWI4EYTfv1pSVIrJK6tEuiwRq58WjoVm8aUTF/TFLgk6pZeNzqCGRbdQiaSylJsQ==
dependencies: dependencies:
decompress "^4.2.1" decompress "^4.2.1"
fs-extra "^10.0.0" fs-extra "^10.0.0"