Skip to content

Commit

Permalink
fix: address test
Browse files Browse the repository at this point in the history
  • Loading branch information
joaosa committed Jun 4, 2024
1 parent 7eb95b2 commit 95a3ae7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/upload-api/test/handlers/web3.storage.js
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,7 @@ export const test = {
equals(
// @ts-expect-error nb unknown
delegation.capabilities[0].nb.content.digest,
content.multihash.bytes
digest
)
)
// @ts-expect-error nb unknown
Expand Down
2 changes: 1 addition & 1 deletion packages/w3up-client/test/capability/blob.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export const BlobClient = Test.withContext({
})

const bytes = await randomBytes(128)
const multihash = await alice.capability.blob.add(new Blob([bytes]))
const { multihash } = await alice.capability.blob.add(new Blob([bytes]))

const result = await alice.capability.blob.get(multihash)
assert.ok(result.ok)
Expand Down

0 comments on commit 95a3ae7

Please sign in to comment.