simpler .started length check

This commit is contained in:
Renée Kooi 2018-01-08 11:16:16 +01:00
parent 456a4a8673
commit daf2e2bd9a
No known key found for this signature in database
GPG key ID: 30516CF2A8E63718

View file

@ -134,7 +134,7 @@ describe.only('XHRUpload with `limit`', () => {
started: window.uppyXhrLimit.uploadsStarted,
complete: window.uppyXhrLimit.uploadsComplete
})).value
expect(status.started).to.be.equal(10)
expect(status.started).to.be.equal(files.length)
expect(status.complete).to.be.equal(2)
})
})