You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
427 B
13 lines
427 B
4 years ago
|
import React from 'react';
|
||
|
|
||
4 years ago
|
import { renderWithProvider } from '../../../../test/jest';
|
||
4 years ago
|
import BackgroundAnimation from './background-animation';
|
||
|
|
||
|
describe('BackgroundAnimation', () => {
|
||
|
it('renders the component', () => {
|
||
|
const { container } = renderWithProvider(<BackgroundAnimation />);
|
||
|
expect(container.firstChild.nodeName).toBe('DIV');
|
||
|
expect(container.firstChild.firstChild.nodeName).toBe('svg');
|
||
|
});
|
||
|
});
|