// @flow import React from 'react'; import { render, cleanup } from 'react-testing-library'; import { ThemeProvider } from 'styled-components'; import 'jest-dom/extend-expect'; import { WalletAddress } from '../../app/components/wallet-address'; import appTheme from '../../app/theme'; afterEach(cleanup); describe('', () => { test('should render wallet address component correctly', () => { const { queryByTestId } = render(
, ); expect(queryByTestId('Address')).toBeInTheDocument(); }); });