Skip to content

Commit

Permalink
update: added expect(result).to.exist
Browse files Browse the repository at this point in the history
Signed-off-by: Logan Nguyen <[email protected]>
  • Loading branch information
quiet-node committed Sep 21, 2023
1 parent 6c46508 commit 60c16eb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/util-precompile/PrngSystemContract.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ describe('PrngSystemContract tests', function () {
(e) => e.event === Constants.Events.PseudoRandomSeed
)[0].args[0]

expect(result).to.exist
expect(result).to.not.hexEqual(ethers.constants.HashZero)
})
})

0 comments on commit 60c16eb

Please sign in to comment.