1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-01 21:57:06 +01:00
metamask-extension/ui/pages/swaps/mascot-background-animation/mascot-background-animation.test.js

20 lines
643 B
JavaScript
Raw Normal View History

2023-06-15 20:17:21 +02:00
import React from 'react';
import { renderWithProvider } from '../../../../test/jest';
import MascotBackgroundAnimation from './mascot-background-animation';
describe('MascotBackgroundAnimation', () => {
it('renders the component', () => {
const { getByTestId } = renderWithProvider(<MascotBackgroundAnimation />);
expect(
getByTestId('mascot-background-animation-background-1'),
).toBeInTheDocument();
expect(
getByTestId('mascot-background-animation-background-2'),
).toBeInTheDocument();
expect(
getByTestId('mascot-background-animation-mascot-container'),
).toBeInTheDocument();
});
});