Skip to content

Commit

Permalink
fix: assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
Alan Shaw committed Jul 25, 2023
1 parent c270e76 commit 6a7994e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/api/test/car.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ describe('POST /car', () => {
assert.equal(claims[Assert.relation.can].length, 1)

assert.equal(claims[Assert.relation.can][0].children.length, 1)
assert.equal(claims[Assert.relation.can][0].children[0].toString(), middle.cid.toString())
assert.equal(claims[Assert.relation.can][0].children[0].toString(), leaf.cid.toString())

claims = await getClaims(leaf.cid)

Expand Down

0 comments on commit 6a7994e

Please sign in to comment.