mirror of
https://github.com/jakejarvis/hugo-extended.git
synced 2026-10-04 12:25:39 -04:00
increase timeout to an excessive 30 seconds for CI
This commit is contained in:
3 files changed
+9
-7
No files matched your search
+4
-2
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user