12 lines
317 B
JavaScript
12 lines
317 B
JavaScript
![]() |
import React from 'react';
|
||
|
import { shallow } from 'enzyme';
|
||
|
import { App } from '../../../src/features/home';
|
||
|
|
||
|
describe('home/App', () => {
|
||
|
it('renders node with correct class name', () => {
|
||
|
const renderedComponent = shallow(<App />);
|
||
|
|
||
|
expect(renderedComponent.find('.home-app').length).toBe(1);
|
||
|
});
|
||
|
});
|