mirror of
https://github.com/alkimake/paperclip.git
synced 2026-06-19 12:10:37 +09:00
Narrow IssueDetail hook-order warning assertion
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
parent
0da56d780f
commit
a18776c627
1 changed files with 5 additions and 1 deletions
|
|
@ -872,7 +872,11 @@ describe("IssueDetail", () => {
|
||||||
|
|
||||||
expect(container.textContent).toContain("Issue detail smoke");
|
expect(container.textContent).toContain("Issue detail smoke");
|
||||||
expect(container.textContent).toContain("Chat thread");
|
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 () => {
|
it("hides the plan decomposition panel by default", async () => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue