1
mirror of https://github.com/jakejarvis/hugo-extended.git synced 2026-06-13 01:45:29 -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
+4 -2
View File
@@ -4,8 +4,10 @@ import { execFile } from "child_process";
import assert from "assert";
import hugo from "../index.js";
it("Hugo exists and runs?", async () => {
assert(execFile(hugo, ["env"], (error, stdout) => {
it("Hugo exists and runs?", async function () {
this.timeout(30000); // increase timeout to an excessive 30 seconds for CI
assert(execFile(hugo, ["env"], function (error, stdout) {
if (error) {
throw error;
}