mirror of
https://github.com/gethomepage/homepage.git
synced 2026-09-28 15:01:17 -07:00
Chore: full react hooks eslint compliance (#7040)
This commit is contained in:
@@ -22,7 +22,7 @@ describe("widgets/suwayomi/component", () => {
|
||||
const service = { widget: { type: "suwayomi" } };
|
||||
const { container } = renderWithProviders(<Component service={service} />, { settings: { hideErrors: false } });
|
||||
|
||||
expect(service.widget.fields).toEqual(["download", "nondownload", "read", "unread"]);
|
||||
expect(service.widget.fields).toBeUndefined();
|
||||
expect(container.querySelectorAll(".service-block")).toHaveLength(4);
|
||||
expect(screen.getByText("suwayomi.download")).toBeInTheDocument();
|
||||
expect(screen.getByText("suwayomi.nondownload")).toBeInTheDocument();
|
||||
|
||||
Reference in New Issue
Block a user