regexper-static/src/components/Loader/test.js
2019-01-11 22:32:20 -05:00

16 lines
358 B
JavaScript

import React from 'react';
import { mount } from 'enzyme';
import Loader from 'components/Loader';
describe('Loader', () => {
test('rendering', () => {
// Using full rendering here since styles for this depend on the structure
// of the SVG.
const component = mount(
<Loader />
);
expect(component).toMatchSnapshot();
});
});