mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-21 19:15:47 +00:00
test(vitest): keep speech registry out of unit-fast
This commit is contained in:
parent
f15c9f1d5f
commit
d0e4472616
2 changed files with 1 additions and 1 deletions
|
|
@ -43,6 +43,7 @@ describe("unit-fast vitest lane", () => {
|
|||
it("keeps obvious stateful files out of the unit-fast lane", () => {
|
||||
expect(isUnitFastTestFile("src/plugin-sdk/temp-path.test.ts")).toBe(false);
|
||||
expect(isUnitFastTestFile("src/agents/sandbox.resolveSandboxContext.test.ts")).toBe(false);
|
||||
expect(isUnitFastTestFile("src/tts/provider-registry.test.ts")).toBe(false);
|
||||
expect(resolveUnitFastTestIncludePattern("src/plugin-sdk/temp-path.ts")).toBeNull();
|
||||
expect(classifyUnitFastTestFileContent("vi.resetModules(); await import('./x.js')")).toEqual([
|
||||
"module-mocking",
|
||||
|
|
|
|||
|
|
@ -79,7 +79,6 @@ export const forcedUnitFastTestFiles = [
|
|||
"src/security/skill-scanner.test.ts",
|
||||
"src/security/windows-acl.test.ts",
|
||||
"src/trajectory/export.test.ts",
|
||||
"src/tts/provider-registry.test.ts",
|
||||
"src/version.test.ts",
|
||||
];
|
||||
const forcedUnitFastTestFileSet = new Set(forcedUnitFastTestFiles);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue