Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Alan Shaw committed Jun 17, 2024
1 parent 78205c9 commit 21236df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/w3up-client/test/capability/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ export const IndexClient = Test.withContext({
const index = ShardedDAGIndex.create(car.cid)
const indexBytes = Result.unwrap(await index.archive())

const { multihash } = await alice.capability.blob.add(
const { digest } = await alice.capability.blob.add(
new Blob([indexBytes]),
{
receiptsEndpoint,
}
)

assert.ok(
await alice.capability.index.add(Link.create(CAR.code, multihash))
await alice.capability.index.add(Link.create(CAR.code, digest))
)
},
},
Expand Down

0 comments on commit 21236df

Please sign in to comment.