UNPKG

@buffetjs/styles

Version:

Buffetjs Styles - The styling solution of Buffetjs

20 lines (15 loc) 477 B
import React from 'react'; import { shallow } from 'enzyme'; // import renderer from 'react-test-renderer'; import LoadingBar from '../index'; const renderComponent = () => shallow(<LoadingBar />); describe('<LoadingBar />', () => { it('should not crash', () => { renderComponent(); }); // Commenting it ATM // it('should match snapshot', () => { // const tree = renderer.create(<LoadingBar />).toJSON(); // expect(tree).toMatchSnapshot(); // }); });