mirror of
https://github.com/openclaw/clawhub.git
synced 2026-08-14 00:47:57 +00:00
test: wait for diff editor mount
This commit is contained in:
@@ -150,9 +150,9 @@ describe("SkillDiffCard", () => {
|
||||
|
||||
await waitFor(() => {
|
||||
expect(screen.getByTestId("diff-editor")).toBeTruthy();
|
||||
expect(diffEditorMounts).toBe(1);
|
||||
});
|
||||
|
||||
expect(diffEditorMounts).toBe(1);
|
||||
expect(diffEditorUnmounts).toBe(0);
|
||||
|
||||
fireEvent.click(screen.getByRole("button", { name: "Inline" }));
|
||||
|
||||
Reference in New Issue
Block a user