Skip to content

Commit

Permalink
fix: eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
motform committed Feb 20, 2024
1 parent 85b099e commit 70ffeb5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions tests/app.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import {
cleanup,
fireEvent,
render,
waitFor,
screen,
waitFor,
} from "@testing-library/react";
import userEvent from "@testing-library/user-event";
import fetchMock from "fetch-mock";
Expand Down Expand Up @@ -74,9 +74,7 @@ test("Can unmount", async () => {
});

test("Can boot and login", async () => {
const { container, getByText, getByLabelText } = await renderApp({
anonymous: true,
});
await renderApp({ anonymous: true });

// Fill login form and
const username = screen.getByLabelText("Username", { selector: "input" });
Expand Down
2 changes: 1 addition & 1 deletion tests/forms/Form.test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import "@testing-library/jest-dom";

import { act, cleanup, render, waitFor } from "@testing-library/react";
import { cleanup, render, waitFor } from "@testing-library/react";
import userEvent from "@testing-library/user-event";
import fetchMock from "fetch-mock";
import Logger from "js-logger";
Expand Down

0 comments on commit 70ffeb5

Please sign in to comment.