mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-05 13:52:27 +00:00
* test(qa): cover CLI onboarding and plugin sources * test(qa): assert npm file plugin source * test(qa): redact onboarding password assertion * test(qa): retain onboarding evidence log
13 lines
530 B
TypeScript
13 lines
530 B
TypeScript
import { readFileSync } from "node:fs";
|
|
import { describe, expect, it } from "vitest";
|
|
|
|
describe("QA CLI onboarding evidence", () => {
|
|
it("retains the bounded redacted child log", () => {
|
|
const source = readFileSync("scripts/e2e/qa-cli-onboarding.mjs", "utf8");
|
|
|
|
expect(source).toContain("writer.appendLog(chunk)");
|
|
expect(source).toContain("const logArtifact = await writer.writeLog()");
|
|
expect(source).toContain("artifactPaths: [logArtifact]");
|
|
expect(source).not.toContain("artifactPaths: []");
|
|
});
|
|
});
|