Working on vendors favorite JSON form - issues with additional fields + rehydrating data

This commit is contained in:
Patrick Fic
2020-02-14 15:57:40 -08:00
parent 12c914affd
commit 34f6f066bc
34 changed files with 1044 additions and 69 deletions

View File

@@ -2,10 +2,12 @@ import React from "react";
import ReactDOM from "react-dom";
import Alert from "./alert.component";
import { MockedProvider } from "@apollo/react-testing";
import { shallow } from "enzyme";
import { shallow, mount } from "enzyme";
const div = document.createElement("div");
it("renders without crashing", () => {
shallow(<Alert type="error" />);
const wrapper = mount(<Alert type="error" message="Test Error" />);
console.log("wrapper", wrapper);
// expect(wrapper.children()).to.have.lengthOf(1);
});