fix jest example styles

This commit is contained in:
nkzawa 2016-10-26 19:28:41 +09:00
parent 06b8e5e676
commit 9a78dd8d1c
2 changed files with 12 additions and 12 deletions

View file

@ -1,12 +1,12 @@
import React from 'react';
import {shallow} from 'enzyme';
import App from '../pages/index.js';
/* global it, expect */
import React from 'react'
import { shallow } from 'enzyme'
import App from '../pages/index.js'
it('App shows "Hello world!"', () => {
const app = shallow(
<App/>
);
<App />
)
expect(app.find('p').text()).toEqual('Hello world!');
});
expect(app.find('p').text()).toEqual('Hello world!')
})