Skip to content

Commit

Permalink
refactor: apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Vasco Santos <[email protected]>
  • Loading branch information
Alan Shaw and vasco-santos authored Dec 4, 2023
1 parent 07e2225 commit 880f001
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/upload-api/test/handlers/store.js
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ export const test = {
}

assert.equal(storeAdd.out.ok.status, 'done')
assert.equal(storeAdd.out.ok.allocated, 5)
assert.equal(storeAdd.out.ok.allocated, data.byteLength)
assert.equal(storeAdd.out.ok.with, spaceDid)
assert.deepEqual(storeAdd.out.ok.link.toString(), link.toString())
// @ts-expect-error making sure it's not an upload status
Expand Down Expand Up @@ -359,7 +359,7 @@ export const test = {
const r0 = await inv0.execute(connection)

assert.equal(r0.out.ok?.status, 'done')
assert.equal(r0.out.ok?.allocated, 5)
assert.equal(r0.out.ok?.allocated, data.byteLength)
assert.equal(r0.out.ok?.with, spaceDid)

const inv1 = StoreCapabilities.add.invoke({
Expand Down

0 comments on commit 880f001

Please sign in to comment.