mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 13:00:44 +00:00
test(infra): align vitest script invariants
This commit is contained in:
@@ -222,7 +222,7 @@ describe("test scripts", () => {
|
||||
};
|
||||
|
||||
expect(pkg.scripts?.["test:serial"]).toBe(
|
||||
"OPENCLAW_VITEST_MAX_WORKERS=1 node scripts/run-vitest.mjs run --config vitest.config.ts",
|
||||
"OPENCLAW_TEST_PROJECTS_SERIAL=1 OPENCLAW_VITEST_MAX_WORKERS=1 node scripts/test-projects.mjs",
|
||||
);
|
||||
expect(pkg.scripts?.["test:fast"]).toBe(
|
||||
"node scripts/run-vitest.mjs run --config test/vitest/vitest.unit.config.ts",
|
||||
@@ -235,6 +235,7 @@ describe("test scripts", () => {
|
||||
);
|
||||
expect(pkg.scripts?.["test:unit:fast:audit"]).toBe("node scripts/test-unit-fast-audit.mjs");
|
||||
expect(pkg.scripts?.["test"]).toBe("node scripts/test-projects.mjs");
|
||||
expect(pkg.scripts?.["test:force"]).toBe("node --import tsx scripts/test-force.ts");
|
||||
expect(pkg.scripts?.["test:gateway"]).toBe(
|
||||
"node scripts/run-vitest.mjs run --config test/vitest/vitest.gateway.config.ts",
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user