Skip to content
This repository has been archived by the owner on Oct 22, 2020. It is now read-only.

Commit

Permalink
test(submission): explain why we skip some tests
Browse files Browse the repository at this point in the history
re #312
  • Loading branch information
mihaildu committed Aug 17, 2018
1 parent db5b950 commit 8f11757
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/components/ui/molecules/FileUpload.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,15 @@ it('displays success if conversion.completed is set', () => {
expect(dropzoneContentWrapper.text()).toBe(manuscriptUploadSuccess)
})

// TODO fix this tests to account for upload %
it.skip('displays uploading if conversion.converting is set', () => {
const dropzoneContentWrapper = makeCheerioWrapper({
conversion: { converting: true },
})
expect(dropzoneContentWrapper.text()).toBe(manuscriptUploading)
})

// TODO fix these tests to account for upload %
it.skip('displays uploading even if there are errors', () => {
const dropzoneContentWrapper = makeCheerioWrapper({
conversion: { converting: true, error: new Error('Boo') },
Expand Down

0 comments on commit 8f11757

Please sign in to comment.