JavaScript Assertion

Open-source JavaScript projects categorized as Assertion

Top 7 JavaScript Assertion Projects

  1. Enzyme

    JavaScript Testing utilities for React

    Project mention: Test-Driven Development for Building User Interfaces | dev.to | 2026-02-09

    This outdated way of thinking about testing implementation details largely stems from Airbnb’s testing library Enzyme. Enzyme allowed you to dive into the internals of your React components, trigger class component methods, and manually update a component’s props and state.

  2. Puter.js

    Puter.js - The Backend for AI-Generated Apps. One-shot full-stack apps with your existing AI coding tool. Puter.js gives you Auth, Storage, DB, AI & more, with up to 90% fewer AI tokens than other backend platforms.

    Puter.js logo
  3. Sinon.JS

    Test spies, stubs and mocks for JavaScript.

    Project mention: Modern JavaScript Concurrency - 2025 Edition | dev.to | 2025-10-25

    Virtual clocks / Fake timers: Libraries like Jest's fake timers or Sinon allow you to control setTimeout, setInterval, and other asynchronous scheduling, making tests deterministic.

  4. chai

    BDD / TDD assertion framework for node.js and the browser that can be paired with any testing framework.

    Project mention: Why I'm building a free, open-source AWS emulator | dev.to | 2026-04-06

    I should back up. I care about tests a lot. Enough to become a maintainer of Chai.js. Enough that when I build something, the test infrastructure comes first.

  5. proxyquire

    🔮 Proxies nodejs require in order to allow overriding dependencies during testing.

  6. expect.js

    Minimalistic BDD-style assertions for Node.JS and the browser.

  7. zora

    Lightest, yet Fastest Javascript test runner for nodejs and browsers

  8. TypL

    The Type Linter for JS

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

JavaScript Assertion discussion

Log in or Post with

JavaScript Assertion related posts

  • Why I'm building a free, open-source AWS emulator

    2 projects | dev.to | 6 Apr 2026
  • Test-Driven Development for Building User Interfaces

    2 projects | dev.to | 9 Feb 2026
  • Modern JavaScript Concurrency - 2025 Edition

    2 projects | dev.to | 25 Oct 2025
  • How we have managed to run Enzyme tests with React 18 app.

    1 project | dev.to | 27 Oct 2024
  • Writing an Obsidian Plugin Driven By Tests

    2 projects | dev.to | 4 Jun 2024
  • Best practices for writing testable ES6 modules

    1 project | /r/learnjavascript | 8 Jun 2023
  • Alternative to AWS Mock

    2 projects | dev.to | 15 Feb 2023
  • A note from our sponsor - SaaSHub
    www.saashub.com | 16 Aug 2026
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

What are some of the best open-source Assertion projects in JavaScript? This list will help you:

# Project Stars
1 Enzyme 19,829
2 Sinon.JS 9,757
3 chai 8,266
4 proxyquire 2,747
5 expect.js 2,098
6 zora 540
7 TypL 384

Sponsored
Puter.js - The Backend for AI-Generated Apps
One-shot full-stack apps with your existing AI coding tool. Puter.js gives you Auth, Storage, DB, AI & more, with up to 90% fewer AI tokens than other backend platforms.
developer.puter.com