Skip to content

Instantly share code, notes, and snippets.

@marekkirejczyk
Created April 23, 2020 14:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marekkirejczyk/2175b3dfaccfa2c50f1bd9a27c911342 to your computer and use it in GitHub Desktop.
Save marekkirejczyk/2175b3dfaccfa2c50f1bd9a27c911342 to your computer and use it in GitHub Desktop.
Smart Contract Fakes and method call expectations with Waffle
expect('balanceOf').to.be.calledOn(tokenContract);
expect('balanceOf').to.be.calledOn(tokenContract).withArgs('0x00...00');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment