test: avoid bundle manifest helper name collision · openclaw/openclaw@ebbdeab
steipete
·
2026-05-11
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -15,7 +15,7 @@ import {
|
15 | 15 | mkdirSafeDir, |
16 | 16 | } from "./test-helpers/fs-fixtures.js"; |
17 | 17 | |
18 | | -type ExpectedBundlePluginManifest = Omit< |
| 18 | +type ReadonlyBundleManifestExpectation = Omit< |
19 | 19 | BundlePluginManifest, |
20 | 20 | "capabilities" | "hooks" | "settingsFiles" | "skills" |
21 | 21 | > & { |
@@ -134,7 +134,7 @@ type ExpectedBundlePluginManifest = Omit<
|
134 | 134 | function expectBundleManifest(params: { |
135 | 135 | rootDir: string; |
136 | 136 | bundleFormat: "codex" | "claude" | "cursor"; |
137 | | -expected: ExpectedBundlePluginManifest; |
| 137 | +expected: ReadonlyBundleManifestExpectation; |
138 | 138 | }) { |
139 | 139 | expect(detectBundleManifestFormat(params.rootDir)).toBe(params.bundleFormat); |
140 | 140 | expect(expectLoadedManifest(params.rootDir, params.bundleFormat)).toEqual(params.expected); |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。