JavaScript Assertion

Open-source JavaScript projects categorized as Assertion

Top 8 JavaScript Assertion Projects

  • Enzyme

    JavaScript Testing utilities for React

    Project mention: Testing React Components: A Comprehensive Overview of Testing Libraries | dev.to | 2023-10-15

    Enzyme is another popular testing utility for React. It allows you to manipulate and traverse React components' output, making it easier to write comprehensive tests.

  • Sinon.JS

    Test spies, stubs and mocks for JavaScript.

    Project mention: Unit Testing in Node.js and TypeScript: A Comprehensive Guide with Jest Integration | dev.to | 2024-03-03

    If you are using a mocking library, such as sinon, jest-mock, or ts-mockito, make sure that it is compatible with Jest. You may need to install additional packages or configure them in your configuration file. For example, to use sinon with Jest, you can install the sinon-jest package and add the following to your configuration file:

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

  • chai

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

    Project mention: Почему я программирую на Ruby | dev.to | 2023-10-20
  • proxyquire

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

    Project mention: Best practices for writing testable ES6 modules | /r/learnjavascript | 2023-06-08

    Take a look at proxyquire: https://www.npmjs.com/package/proxyquire - they do some fancy magic to allow you to stub es module imports.

  • expect.js

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

  • zora

    Lightest, yet Fastest Javascript test runner for nodejs and browsers

  • TypL

    The Type Linter for JS

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • cy-spok

    Playing with spok inside Cypress

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). The latest post mention was on 2024-03-03.

JavaScript Assertion related posts

Index

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

Project Stars
1 Enzyme 19,973
2 Sinon.JS 9,549
3 chai 8,062
4 proxyquire 2,741
5 expect.js 2,101
6 zora 513
7 TypL 363
8 cy-spok 39
The modern identity platform for B2B SaaS
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
workos.com