* feat: migrate enzyme to edx/react-unit-test-utils * refactor: remove shallowWrapper usage * refactor: remove unnecessary _instance usage
12 lines
296 B
JavaScript
12 lines
296 B
JavaScript
import React from 'react';
|
|
import { shallow } from '@edx/react-unit-test-utils';
|
|
|
|
import LoadingBanner from './LoadingBanner';
|
|
|
|
describe('Loading Banner component', () => {
|
|
test('snapshot', () => {
|
|
const el = shallow(<LoadingBanner />);
|
|
expect(el.snapshot).toMatchSnapshot();
|
|
});
|
|
});
|