mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-30 16:18:07 +01:00
12 lines
310 B
JavaScript
12 lines
310 B
JavaScript
import * as React from 'react';
|
|
import { render } from '@testing-library/react';
|
|
import Card from '.';
|
|
|
|
describe('Card', () => {
|
|
it('should render the Card without crashing', () => {
|
|
const { getByText } = render(<Card>Card content</Card>);
|
|
|
|
expect(getByText('Card content')).toBeDefined();
|
|
});
|
|
});
|