Skip to content

Commit

Permalink
remove redundant imports / variables
Browse files Browse the repository at this point in the history
  • Loading branch information
RODO94 committed Sep 17, 2024
1 parent cc32099 commit 222db29
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ describe("validation and error handling", () => {
// it shows all fields are required in a tab
it("should show all fields are required, for all feature tabs", async () => {
const { getByTestId, getByRole, user } = setup(<MapAndLabel {...props} />);
getByTestId("map-and-label-map");

addMultipleFeatures([point1, point2]);

Expand Down Expand Up @@ -156,7 +155,6 @@ describe("validation and error handling", () => {
// it shows all fields are required across different tabs
it("should show an error if the minimum number of items is not met", async () => {
const { getByTestId, user } = setup(<MapAndLabel {...props} />);
getByTestId("map-and-label-map");

await clickContinue(user);

Expand Down Expand Up @@ -235,8 +233,7 @@ describe("basic interactions - happy path", () => {
});

it("adding multiple features to the map adds multiple feature tabs", async () => {
const { getByTestId, queryByRole } = setup(<MapAndLabel {...props} />);
const map = getByTestId("map-and-label-map");
const { queryByRole } = setup(<MapAndLabel {...props} />);

addMultipleFeatures([point1, point2, point3]);

Expand Down Expand Up @@ -288,7 +285,6 @@ describe("basic interactions - happy path", () => {
});
it("a user can input details on feature tabs in any order", async () => {
const { getByTestId, getByRole, user } = setup(<MapAndLabel {...props} />);
const map = getByTestId("map-and-label-map");

addMultipleFeatures([point1, point2]);

Expand Down

0 comments on commit 222db29

Please sign in to comment.