1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-01 13:47:06 +01: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();
});
});