From a4406945bfc5a800f23dca01f019265f853f3234 Mon Sep 17 00:00:00 2001 From: Kahama Date: Tue, 26 May 2020 11:00:05 +0300 Subject: [PATCH] Cleanup --- .../MDAPoint/ClientUpload/tests/index.test.tsx | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/src/containers/pages/MDAPoint/ClientUpload/tests/index.test.tsx b/src/containers/pages/MDAPoint/ClientUpload/tests/index.test.tsx index d41ea05693..2889973e03 100644 --- a/src/containers/pages/MDAPoint/ClientUpload/tests/index.test.tsx +++ b/src/containers/pages/MDAPoint/ClientUpload/tests/index.test.tsx @@ -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( - // - // - // - // ); - // 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'); - // }); });