test: check active tool profile state · openclaw/openclaw@e21efc6
shakkernerd
·
2026-05-12
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -155,9 +155,9 @@ describe("renderQuickSettings", () => {
|
155 | 155 | |
156 | 156 | expectButtonByText(container, "full").click(); |
157 | 157 | expect(onToolProfileChange).toHaveBeenCalledWith("full"); |
158 | | -expect(expectButtonByText(container, "messaging").classList).toContain( |
159 | | -"qs-segmented__btn--active", |
160 | | -); |
| 158 | +expect( |
| 159 | +expectButtonByText(container, "messaging").classList.contains("qs-segmented__btn--active"), |
| 160 | +).toBe(true); |
161 | 161 | }); |
162 | 162 | |
163 | 163 | it("keeps the local user name fixed and shows the assistant identity", () => { |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。