Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
kahummer committed May 26, 2020
1 parent 3ac8412 commit a440694
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions src/containers/pages/MDAPoint/ClientUpload/tests/index.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,22 +22,4 @@ describe('components/ClientUpload', () => {
expect(toJson(wrapper.find('ClientUpload'))).toMatchSnapshot();
wrapper.unmount();
});

// it('can select an image and upload will make a request to upload it', () => {
// const { container, getByLabelText, getByText, getByAltText } = render(
// <Router history={history}>
// <ClientUpload />
// </Router>
// );
// const file = new File(['(⌐□_□)'], 'student.csv', { type: 'text/csv' });
// const fileInput = container.querySelector('input[name="file"]');
// // if (fileInput) {
// // Simulate.change(fileInput, { target: { files: [file] } });
// // }
// // Object.defineProperty(fileInput, 'files', {
// // value: [file],
// // });
// fireEvent.change(fileInput);
// getByText('student.csv');
// });
});

0 comments on commit a440694

Please sign in to comment.