1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 19:26:13 +02:00
metamask-extension/ui/pages/swaps/mascot-background-animation/mascot-background-animation.test.js
2023-06-15 20:17:21 +02:00

20 lines
643 B
JavaScript

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();
});
});