Skip to content
This repository has been archived by the owner on Aug 11, 2021. It is now read-only.

Commit

Permalink
fix: immutable CID test
Browse files Browse the repository at this point in the history
  • Loading branch information
Gozala authored and vmx committed Jul 9, 2020
1 parent afd52fe commit d82441c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/dag-link-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ module.exports = (repo) => {

it('has an immutable CID', () => {
const link = new DAGLink('hello', 3, 'QmXg9Pp2ytZ14xgmQjYEiHjVjMFXzCVVEcRTWJBmLgR39U')
expect(() => { link.Hash = 'foo' }).to.throw(/property/)
expect(() => { link.Hash = 'foo' }).to.throw(/read.only/)
})
})
}

0 comments on commit d82441c

Please sign in to comment.