Skip to content

Instantly share code, notes, and snippets.

@marekkirejczyk
Last active November 16, 2018 16:19
Show Gist options
  • Save marekkirejczyk/223932a2f0a40ec69d306ffeb4f9b0cb to your computer and use it in GitHub Desktop.
Save marekkirejczyk/223932a2f0a40ec69d306ffeb4f9b0cb to your computer and use it in GitHub Desktop.
revertedWith
await expect(token.transfer(address, 1))
.to.be.revertedWith('Not enough balance on sender account');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment