mirror of https://github.com/theNewDynamic/gohugo-theme-ananke.git

Patrick Kollitsch
9 hours ago c70b22c0c65d21fc25eda46a8182eb042da11da0
1
2
3
4
5
6
7
8
9
10
11
12
import assert from "node:assert/strict";
import { spawnSync } from "node:child_process";
import { test } from "node:test";
 
test("documented quickstart installs and builds the local theme", () => {
  const result = spawnSync(
    process.execPath,
    ["scripts/test-hugo-quickstart.ts"],
    { encoding: "utf8" },
  );
  assert.equal(result.status, 0, `${result.stdout}\n${result.stderr}`);
});