test: locate signal config issues · openclaw/openclaw@70817ed
shakkernerd
·
2026-05-13
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -86,7 +86,7 @@ describe("signal groups schema", () => {
|
86 | 86 | }, |
87 | 87 | }); |
88 | 88 | |
89 | | -expect(issues.some((issue) => issue.path.join(".") === "accounts.primary")).toBe(true); |
| 89 | +expect(issues.map((issue) => issue.path.join("."))).toContain("accounts.primary"); |
90 | 90 | }); |
91 | 91 | |
92 | 92 | it("accepts top-level group overrides", () => { |
@@ -126,8 +126,6 @@ describe("signal groups schema", () => {
|
126 | 126 | }, |
127 | 127 | }); |
128 | 128 | |
129 | | -expect( |
130 | | -issues.map((issue) => issue.path.join(".")).some((entry) => entry.startsWith("groups")), |
131 | | -).toBe(true); |
| 129 | +expect(issues.map((issue) => issue.path.join("."))).toEqual(["groups.*"]); |
132 | 130 | }); |
133 | 131 | }); |
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。