fix test files

This commit is contained in:
Elizabeth Craig
2019-02-28 09:13:52 -08:00
parent 3fdd80f39a
commit 4d89fd7380
2 changed files with 6 additions and 6 deletions

View File

@@ -1,7 +1,11 @@
import React from 'react';
import { mount } from 'enzyme';
import { TestMe } from './TestMe';
describe('index', () => {
it('placeholder', () => {
it('should have a non-clickable component when the original InnerMe is clicked', () => {
const wrapper = mount(<TestMe name="world" />);
wrapper.find('#innerMe').simulate('click');
expect(wrapper.find('#innerMe').text()).toBe('Clicked');
});
});

View File

@@ -1,11 +1,7 @@
import React from 'react';
import { mount } from 'enzyme';
import { TestMe } from './TestMe';
describe('TestMe Component', () => {
it('should have a non-clickable component when the original InnerMe is clicked', () => {
const wrapper = mount(<TestMe name="world" />);
wrapper.find('#innerMe').simulate('click');
expect(wrapper.find('#innerMe').text()).toBe('Clicked');
it('placeholder', () => {
});
});