Credit to devdocs.io

sinon 7