1 | import React from 'react';
|
2 | import { render, cleanup } from '@testing-library/react';
|
3 | import { FilePickerBtn } from '..';
|
4 |
|
5 | afterEach(cleanup);
|
6 |
|
7 | describe('Upload', () => {
|
8 | test('should render', () => {
|
9 | const { container } = render(<FilePickerBtn onChange={() => {}} />);
|
10 |
|
11 | expect(container).toMatchSnapshot();
|
12 | });
|
13 | });
|
14 |
|
\ | No newline at end of file |