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