Skip to content

Commit

Permalink
fix: more test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Alan Shaw committed May 17, 2024
1 parent dbfc98e commit 8a45a5c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
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 @@ -36,7 +36,7 @@ export const BlobClient = Test.withContext({

// TODO we should check blobsStorage as well
assert.deepEqual(
await allocationsStorage.exists(space.did(), multihash.bytes),
await allocationsStorage.exists(space.did(), multihash),
{
ok: true,
}
Expand Down
4 changes: 2 additions & 2 deletions packages/w3up-client/test/client.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export const testClient = {
assert.deepEqual(
await allocationsStorage.exists(
space.did(),
expectedCar.cid.multihash.bytes
expectedCar.cid.multihash
),
{
ok: true,
Expand Down Expand Up @@ -177,7 +177,7 @@ export const testClient = {
}

assert.deepEqual(
await allocationsStorage.exists(space.did(), carCID.multihash.bytes),
await allocationsStorage.exists(space.did(), carCID.multihash),
{
ok: true,
}
Expand Down

0 comments on commit 8a45a5c

Please sign in to comment.