Skip to content

Commit ab0147f

Browse files
committed
Fix tests
1 parent 5a039b7 commit ab0147f

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

frontend/src/common/components/Upload/__tests__/UploadModal.test.tsx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -219,11 +219,6 @@ describe('UploadModal', () => {
219219
expect(screen.getByTestId('ion-icon-document-icon')).toBeInTheDocument();
220220
expect(screen.getByTestId('ion-progress-bar')).toHaveAttribute('data-value', '0.5');
221221
expect(screen.getByText('common.cancel')).toBeInTheDocument();
222-
223-
// Checking if we can find the seconds left text
224-
const fileInfo = screen.getByText(/seconds left/);
225-
expect(fileInfo.textContent).toContain('10 KB');
226-
expect(fileInfo.textContent).toContain('seconds left');
227222
});
228223

229224
test('renders requesting permission state', () => {

0 commit comments

Comments
 (0)