increase timeout to an excessive 30 seconds for CI

This commit is contained in:
jake committed 2021-10-06 10:37:52 -04:00
1 parent 9387ba950d
commit bf8f731e49
3 files changed
+9 -7

No files matched your search

+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;
}