Created
September 29, 2018 13:46
-
-
Save productioncoder/1ad4ee7026a539e766949067012bd3a5 to your computer and use it in GitHub Desktop.
Tests for Rating component
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import {shallow} from 'enzyme'; | |
import {Rating} from '../Rating'; | |
describe('Rating', () => { | |
test('renders', () => { | |
const wrapper = shallow(<Rating/>); | |
expect(wrapper).toMatchSnapshot(); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment