I'm using hardhat with mocha and chai to write tests for a contract. I'm trying to write a test that will expect a function call to be successful (not to revert); the function does not emit any events.
Some combinations I expected to work but did not are: not.to.be.reverted
, not.to.be.rejected
, to.be.ok
, to.be.fulfilled
.
What is the recommended way to test for success?