fix(test): register Docker import check with Vitest
This commit is contained in:
1 parent
1eee6661f9
commit
76e46d295c
1 file changed
+4
@@ -1,6 +1,9 @@
|
||||
import assert from "node:assert/strict";
|
||||
import { spawnSync } from "node:child_process";
|
||||
|
||||
import { it } from "vitest";
|
||||
|
||||
it("imports runtime validation without starting the CMS", () => {
|
||||
const result = spawnSync(
|
||||
process.execPath,
|
||||
[
|
||||
@@ -11,3 +14,4 @@ const result = spawnSync(
|
||||
{ encoding: "utf8" },
|
||||
);
|
||||
assert.equal(result.status, 0, result.stderr);
|
||||
});
|
||||
Reference in new issue
Block a user