mirror of
https://github.com/status-im/sticker-market-blog.git
synced 2025-03-01 20:30:32 +00:00
18 lines
397 B
React
18 lines
397 B
React
|
import React from 'react';
|
||
|
import { mount } from 'enzyme';
|
||
|
|
||
|
import App from '../src/App';
|
||
|
import HelloWorld from '../src/components/hello-world';
|
||
|
|
||
|
describe('<App />', () => {
|
||
|
const wrap = mount(<App />);
|
||
|
|
||
|
it('renders', () => {
|
||
|
expect(wrap.find(App).exists()).toBe(true);
|
||
|
});
|
||
|
|
||
|
it('contains HelloWorld component', () => {
|
||
|
expect(wrap.find(HelloWorld).exists()).toBe(true);
|
||
|
});
|
||
|
});
|