test: tighten run-tsgo sparse guard assertion · openclaw/openclaw@4862dee
steipete
·
2026-05-09
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -147,7 +147,7 @@ describe("run-tsgo sparse guard", () => {
|
147 | 147 | expect(shouldSkipSparseTsgoGuardError({ OPENCLAW_TSGO_SPARSE_SKIP: "1" })).toBe(true); |
148 | 148 | expect(shouldSkipSparseTsgoGuardError({ OPENCLAW_TSGO_SPARSE_SKIP: "true" })).toBe(true); |
149 | 149 | expect(shouldSkipSparseTsgoGuardError({ OPENCLAW_TSGO_SPARSE_SKIP: "0" })).toBe(false); |
150 | | -expect(createSparseTsgoSkipEnv({ PATH: "/usr/bin" })).toMatchObject({ |
| 150 | +expect(createSparseTsgoSkipEnv({ PATH: "/usr/bin" })).toStrictEqual({ |
151 | 151 | PATH: "/usr/bin", |
152 | 152 | OPENCLAW_TSGO_SPARSE_SKIP: "1", |
153 | 153 | }); |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。