test: fix core support boundary helpers · openclaw/openclaw@e9611e7
steipete
·
2026-04-28
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +export { |
| 2 | +BUNDLED_PLUGIN_E2E_TEST_GLOB, |
| 3 | +BUNDLED_PLUGIN_LIVE_TEST_GLOB, |
| 4 | +BUNDLED_PLUGIN_PATH_PREFIX, |
| 5 | +BUNDLED_PLUGIN_ROOT_DIR, |
| 6 | +BUNDLED_PLUGIN_TEST_GLOB, |
| 7 | +bundledDistPluginFile, |
| 8 | +bundledDistPluginRoot, |
| 9 | +bundledPluginCallsite, |
| 10 | +bundledPluginFile, |
| 11 | +bundledPluginRoot, |
| 12 | +} from "../../scripts/lib/bundled-plugin-paths.mjs"; |
| Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +export { importFreshModule } from "../../src/plugin-sdk/test-helpers/import-fresh.js"; |
| Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +export { normalizeTranscriptForMatch } from "../../src/plugin-sdk/test-helpers/stt-live-audio.js"; |
| Original file line number | Diff line number | Diff line change |
|---|
|
1 | 1 | import fs from "node:fs"; |
2 | 2 | import path from "node:path"; |
3 | 3 | import { afterEach, describe, expect, it, vi } from "vitest"; |
4 | | -import { importFreshModule } from "./helpers/import-fresh.js"; |
| 4 | +import { importFreshModule } from "./helpers/import-fresh.ts"; |
5 | 5 | import { cleanupTempDirs, makeTempDir } from "./helpers/temp-dir.js"; |
6 | 6 | import { installTestEnv } from "./test-env.js"; |
7 | 7 | |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -43,7 +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/crestodian/overview.test.ts")).toBe(false); |
| 46 | +expect(isUnitFastTestFile("src/crestodian/audit.test.ts")).toBe(false); |
47 | 47 | expect(isUnitFastTestFile("src/proxy-capture/runtime.test.ts")).toBe(false); |
48 | 48 | expect(isUnitFastTestFile("src/security/windows-acl.test.ts")).toBe(false); |
49 | 49 | expect(resolveUnitFastTestIncludePattern("src/plugin-sdk/temp-path.ts")).toBeNull(); |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。