Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Tests for Rating component
import React from 'react';
import {shallow} from 'enzyme';
import {Rating} from '../Rating';
describe('Rating', () => {
test('renders', () => {
const wrapper = shallow(<Rating/>);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment