



























@@ -48,6 +48,7 @@ describe("run-tsgo sparse guard", () => {
4848const cwd = createTempDir("openclaw-run-tsgo-");
4949const requiredPaths = [
5050"packages/plugin-package-contract/src/index.ts",
51+"ui/config/control-ui-chunking.ts",
5152"ui/src/i18n/lib/registry.ts",
5253"ui/src/i18n/lib/types.ts",
5354"ui/src/ui/app-settings.ts",
@@ -65,7 +66,7 @@ describe("run-tsgo sparse guard", () => {
6566getSparseTsgoGuardError(["-p", "test/tsconfig/tsconfig.core.test.non-agents.json"], {
6667 cwd,
6768isSparseCheckoutEnabled: () => true,
68-sparseCheckoutPatterns: ["/packages/", "/ui/src/"],
69+sparseCheckoutPatterns: ["/packages/", "/ui/config/", "/ui/src/"],
6970}),
7071).toBeNull();
7172});
@@ -74,6 +75,7 @@ describe("run-tsgo sparse guard", () => {
7475const cwd = createTempDir("openclaw-run-tsgo-");
7576const requiredPaths = [
7677"packages/plugin-package-contract/src/index.ts",
78+"ui/config/control-ui-chunking.ts",
7779"ui/src/i18n/lib/registry.ts",
7880"ui/src/i18n/lib/types.ts",
7981"ui/src/ui/app-settings.ts",
@@ -92,6 +94,7 @@ describe("run-tsgo sparse guard", () => {
9294isSparseCheckoutEnabled: () => true,
9395sparseCheckoutPatterns: [
9496"/packages/plugin-package-contract/src/index.ts",
97+"/ui/config/control-ui-chunking.ts",
9598"/ui/src/i18n/lib/registry.ts",
9699"/ui/src/i18n/lib/types.ts",
97100"/ui/src/ui/app-settings.ts",
@@ -101,6 +104,7 @@ describe("run-tsgo sparse guard", () => {
101104).toMatchInlineSnapshot(`
102105 "tsconfig.core.test.json cannot be typechecked from this sparse checkout because tracked project inputs are missing or only partially included:
103106 - packages
107+ - ui/config
104108 - ui/src
105109 Expand this worktree's sparse checkout to include those paths, or rerun in a full worktree."
106110 `);
@@ -135,6 +139,7 @@ describe("run-tsgo sparse guard", () => {
135139).toMatchInlineSnapshot(`
136140 "tsconfig.core.test.json cannot be typechecked from this sparse checkout because tracked project inputs are missing or only partially included:
137141 - packages/plugin-package-contract/src/index.ts
142+ - ui/config/control-ui-chunking.ts
138143 - ui/src/i18n/lib/registry.ts
139144 - ui/src/i18n/lib/types.ts
140145 - ui/src/ui/app-settings.ts
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。