Narrow IssueDetail hook-order warning assertion

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
Dotta 2026-06-01 22:08:39 +00:00
parent 0da56d780f
commit a18776c627

View file

@ -872,7 +872,11 @@ describe("IssueDetail", () => {
expect(container.textContent).toContain("Issue detail smoke");
expect(container.textContent).toContain("Chat thread");
expect(consoleErrorSpy).not.toHaveBeenCalled();
expect(
consoleErrorSpy.mock.calls.some((call) =>
String(call[0]).includes("React has detected a change in the order of Hooks"),
),
).toBe(false);
});
it("hides the plan decomposition panel by default", async () => {