mirror of
https://gh-proxy.org/https://github.com/klinsmaya/portal-template-default.git
synced 2026-11-08 00:57:57 +08:00
test: 去掉调试输出
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017Dhew1W2nX2vArUDHJyHQH
This commit is contained in:
@@ -48,7 +48,6 @@ describe("one-click fix in 表 3-10 refreshes the sums", () => {
|
||||
render(<PathHost initial={paths()} view="mind" />);
|
||||
expect(screen.getAllByText(/1000 ≠ 300 \+ 500|≠/).length).toBeGreaterThan(0);
|
||||
fireEvent.click(screen.getByText("external fix"));
|
||||
console.log([...document.querySelectorAll("span, div")].map((e) => e.textContent ?? "").filter((t) => /≠|=/.test(t) && t.length < 80));
|
||||
expect(screen.getAllByText(/800 = 300 \+ 500|300 \+ 500 = 800/).length).toBeGreaterThan(0);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user