Commit 9a78dd8d authored by nkzawa's avatar nkzawa

fix jest example styles

parent 06b8e5e6
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!');
});
\ No newline at end of file
expect(app.find('p').text()).toEqual('Hello world!')
})
import React from 'react'
export default () => (
<div>
<p>Hello world!</p>
</div>
)
\ No newline at end of file
<div>
<p>Hello world!</p>
</div>
)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment