mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-23 06:08:08 +00:00
16 lines
485 B
TypeScript
16 lines
485 B
TypeScript
// Docs i18n tests cover the Go module backing docs translation.
|
|
import { spawnSync } from "node:child_process";
|
|
import { describe, expect, it } from "vitest";
|
|
|
|
describe("docs-i18n Go module", () => {
|
|
it("passes Go tests", () => {
|
|
const result = spawnSync("go", ["test", "./...", "-count=1"], {
|
|
cwd: "scripts/docs-i18n",
|
|
encoding: "utf8",
|
|
});
|
|
|
|
expect(result.error).toBeUndefined();
|
|
expect(result.status, result.stderr || result.stdout).toBe(0);
|
|
});
|
|
});
|