lnked/react-starter

View on GitHub
src/__tests__/shallow.test.js

Summary

Maintainability
A
0 mins
Test Coverage
test('predicts', () => {})

// import * as React from "react";
// import { shallow } from "enzyme";

// import Hello from "../Hello";

// it("renders the heading", () => {
//     const result = shallow(<Hello />).contains(<h1>Hello!</h1>);
//     expect(result).toBeTruthy();
// });

// /* tslint:disable-next-line */
// import React from 'react';
// /* tslint:disable-next-line */
// import Enzyme, { shallow } from 'enzyme';
// /* tslint:disable-next-line */
// import Adapter from 'enzyme-adapter-react-16';
// import Wow from './Wow';
// Enzyme.configure({ adapter: new Adapter() });
// it('shallow renders without crashing', () => {
//   shallow(<Wow />);
// });