mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-03-29 12:20:29 +00:00
14 lines
308 B
JavaScript
14 lines
308 B
JavaScript
import React from 'react';
|
|
import { shallow } from 'enzyme';
|
|
|
|
import LoadingSpinner from './LoadingSpinner';
|
|
|
|
describe('LoadingSpinner', () => {
|
|
it('exists', () => {
|
|
expect(LoadingSpinner).toBeDefined();
|
|
});
|
|
|
|
it('basic', () => {
|
|
expect(shallow(<LoadingSpinner />)).toMatchSnapshot();
|
|
});
|
|
});
|