Skip to content

Commit 1d12ce7

Browse files
committed
history unit test update
1 parent 307f5a1 commit 1d12ce7

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

__tests__/historyUnitTest.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,18 @@ import { createStore } from "redux";
33
import { Provider } from "react-redux";
44
import format from "date-fns/format";
55
import uuid from "uuid/v4";
6-
import { render, screen, fireEvent } from "@testing-library/react";
6+
import {
7+
render,
8+
screen,
9+
fireEvent,
10+
getAllByAltText,
11+
queryAllByRole,
12+
} from "@testing-library/react";
713
import HistoryContainer from "../src/client/components/containers/HistoryContainer";
814
import * as actions from "../src/client/actions/actions.js";
915
import reducers from "../src/client/reducers/index.js";
1016
import "@testing-library/jest-dom/extend-expect";
1117
// import store from "../src/client/store";
12-
import { getAllByAltText, queryAllByRole } from "@testing-library/react";
1318

1419
//generate date for today
1520
let today = new Date();

0 commit comments

Comments
 (0)