Updated all packages and fixed errors thrown by new ESLint

This commit is contained in:
Patrick Fic
2020-10-30 12:40:27 -07:00
parent fe02f80cc7
commit 3721f7ffe2
18 changed files with 25458 additions and 3676 deletions

View File

@@ -1,17 +1,13 @@
import { shallow } from "enzyme";
import React from "react";
import ReactDOM from "react-dom";
import Alert from "./alert.component";
import { MockedProvider } from "@apollo/react-testing";
import { shallow, mount } from "enzyme";
const div = document.createElement("div");
describe("Alert component", () => {
let wrapper;
beforeEach(() => {
const mockProps = {
type: "error",
message: "Test error message."
message: "Test error message.",
};
wrapper = shallow(<Alert {...mockProps} />);