I wrote a ERC721 contract with a mint function that requires you send 0.x ETH when you call the mint function.
How do I call this function with 0.x ETH? I am still writing the unit test for this. If the mint function does not check for msg.value, I can just call the mint function like contract.mint(), but when my mint function does require msg.value, I can't find a way to add ETH to my call.
Thanks!