mirror of
https://github.com/Sea-Haven-Industries/shoc-frontend-new.git
synced 2026-10-07 16:19:01 +00:00
style(work-orders): format board fixture
This commit is contained in:
parent
143b8c647b
commit
2a5dd0cb92
1 changed files with 0 additions and 1 deletions
|
|
@ -187,7 +187,6 @@ describe("WorkOrdersListPage board-core public interface", () => {
|
||||||
expect(screen.queryByRole("button", { name: /new wo/i })).not.toBeInTheDocument();
|
expect(screen.queryByRole("button", { name: /new wo/i })).not.toBeInTheDocument();
|
||||||
expect(screen.queryByRole("button", { name: /view doc|draft/i })).not.toBeInTheDocument();
|
expect(screen.queryByRole("button", { name: /view doc|draft/i })).not.toBeInTheDocument();
|
||||||
|
|
||||||
|
|
||||||
fireEvent.click(screen.getByRole("button", { name: /view canceled row/i }));
|
fireEvent.click(screen.getByRole("button", { name: /view canceled row/i }));
|
||||||
expect(navigate).toHaveBeenCalledWith("/workorders/77");
|
expect(navigate).toHaveBeenCalledWith("/workorders/77");
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue