sinon-chai provides convenient Chai assertions for Sinon.js spies, stubs, and mocks. It seamlessly integrates Sinon's functionality into your Chai-based testing environment, allowing you to easily assert that functions were called a certain number of times, with specific arguments, or in a particular context. Improve test readability and expressiveness by combining the power of Sinon's test doubles with Chai's assertion library. This simplifies verifying the behavior of your units under test.
Sinon-chai's release frequency has significantly decreased over time. Initially, releases were more common, with multiple versions in some months of 2012. After 2018, releases became infrequent, with only a few months in subsequent years seeing new versions. There were no releases between August 2024 and August 2025.
Sinon-chai npm package downloads show a general upward trend from March 2024 to September 2025. Downloads remained relatively stable throughout 2024. There was a large spike in November 2024. Download numbers rise significantly from May 2025 onwards, with September 2025 having the highest downloads so far, although data for this month is incomplete.