test(vitest): keep speech registry out of unit-fast · openclaw/openclaw@d0e4472
steipete
·
2026-04-27
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -43,6 +43,7 @@ describe("unit-fast vitest lane", () => {
|
43 | 43 | it("keeps obvious stateful files out of the unit-fast lane", () => { |
44 | 44 | expect(isUnitFastTestFile("src/plugin-sdk/temp-path.test.ts")).toBe(false); |
45 | 45 | expect(isUnitFastTestFile("src/agents/sandbox.resolveSandboxContext.test.ts")).toBe(false); |
| 46 | +expect(isUnitFastTestFile("src/tts/provider-registry.test.ts")).toBe(false); |
46 | 47 | expect(resolveUnitFastTestIncludePattern("src/plugin-sdk/temp-path.ts")).toBeNull(); |
47 | 48 | expect(classifyUnitFastTestFileContent("vi.resetModules(); await import('./x.js')")).toEqual([ |
48 | 49 | "module-mocking", |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -79,7 +79,6 @@ export const forcedUnitFastTestFiles = [
|
79 | 79 | "src/security/skill-scanner.test.ts", |
80 | 80 | "src/security/windows-acl.test.ts", |
81 | 81 | "src/trajectory/export.test.ts", |
82 | | -"src/tts/provider-registry.test.ts", |
83 | 82 | "src/version.test.ts", |
84 | 83 | ]; |
85 | 84 | const forcedUnitFastTestFileSet = new Set(forcedUnitFastTestFiles); |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。