// Attempt transfer tokens, when you have none
invalidAmount = tokens(10) // recipient has no tokens ??
await token.transfer(deployer, invalidAmount, { from: receiver }).should.be.rejectedWith(EVM_REVERT)
Fellow Developers , I am following a tutorial to make a standard ERC-20 token, wherein there is a test to check if user is sending zero tokens. but still in the code presented by tutor the test defines invalidAmount as 10 token.
Can someone please let me know why is it so that we are passing 10 tokens and not 0 . Is it some kind of a convention?
Thank you in advance.