sinon
JavaScript test spies, stubs and mocks.
tinyspy
A minimal fork of nanospy, with more features
serverless-spy
CDK-based library for writing elegant integration tests on AWS serverless architecture and an additional web console to monitor events in real time.