1 2 3 4 5 6 7 8 9 10 11 12 13 | 1× 1× 1× 1× 1× 1× 1× | import React from 'react'; import {shallow} from 'enzyme'; import ExampleComponent from '../ExampleComponent.react'; describe('ExampleComponent', () => { it('renders', () => { const component = shallow(<ExampleComponent label="Test label"/>); expect(component).to.be.ok; }); }); |