16 lines
358 B
JavaScript
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();
|
|
});
|
|
});
|