Remove old useless test

This commit is contained in:
Jori Lallo
2017-05-22 23:51:52 -07:00
parent 4c8df3231d
commit 07ff5b6ae5

View File

@@ -1,16 +0,0 @@
/* eslint-disable */
import React from 'react';
import ReactDOM from 'react-dom';
import DocumentHtml from './DocumentHtml';
import { shallow } from 'enzyme';
const testHtml = `
<h1>test document</h1>
<p>Hello! <a href="/internal">internal link</a></p>
<p>Aliens <a href="/external">external link</a></p>
`;
test('renders', () => {
const wrapper = shallow(<DocumentHtml html={testHtml} />);
expect(wrapper.find('.document').length).toBe(1);
});