Sinon.JS
sinon, на сайте с September 04, 2022 03:07
Standalone test spies, stubs and mocks for JavaScript. Works with any unit testing framework.