Skip to content

Commit

Permalink
refactor: change test desciprtions
Browse files Browse the repository at this point in the history
  • Loading branch information
JAWilliamsONS committed Nov 6, 2023
1 parent cdd8639 commit df53e5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/features/step_definitions/CATI_Dashboard_Link.test.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from "react";
import { defineFeature, loadFeature } from "jest-cucumber";
import {cleanup, fireEvent, render, screen, waitFor} from "@testing-library/react";
import {cleanup, render, screen, waitFor} from "@testing-library/react";
import { act } from "react-dom/test-utils";
import { createMemoryHistory } from "history";
import { Router } from "react-router-dom";
Expand Down Expand Up @@ -58,7 +58,7 @@ defineFeature(feature, test => {

when("the link to the CATI dashboard is present", async () => {
await waitFor(() => {
expect(screen.getByText(/Link to CATI dashboard/i))
expect(screen.getByText(/Link to CATI dashboard/i));
});
});

Expand Down

0 comments on commit df53e5e

Please sign in to comment.