Skip to content

Commit

Permalink
feat(*): upgrade to v2
Browse files Browse the repository at this point in the history
New API

BREAKING CHANGES
  • Loading branch information
olalonde committed Sep 21, 2016
1 parent d46f59d commit 938b79b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,13 @@ export default ({

test('setup', async (t) => {
store = await setup(t)
if (!store.minPartSize) {
if (!store.minChunkSize) {
// Let's use a small minPartSize to make sure the store isn't lying!
minPartSize = 2
} else {
minPartSize = store.minPartSize
minPartSize = store.minChunkSize
}
t.comment(`testing with minPartSize = ${minPartSize}`)
})

test('info - unknown upload', async (t) => {
Expand Down

0 comments on commit 938b79b

Please sign in to comment.