Sha256: 8839faf2fad10f6d527388a7403ce33d49fba97e9db6400f6bcc89e6dcc3bc09
Contents?: true
Size: 288 Bytes
Versions: 1
Compression:
Stored size: 288 Bytes
Contents
import React from 'react'; import { shallow } from 'enzyme'; import toJson from 'enzyme-to-json'; import Hello from '../index'; describe('Hello component', () => { it('rendering', () => { const wrapper = shallow(<Hello />); expect(toJson(wrapper)).toMatchSnapshot(); }); });
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
foreman-tasks-0.15.1 | webpack/ForemanTasks/components/Hello/__tests__/Hello.test.js |