JavaScript Assertions

Open-source JavaScript projects categorized as Assertions

Top 5 JavaScript Assertion Projects

  • Enzyme

    JavaScript Testing utilities for React

  • Project mention: The best testing strategies for frontends | dev.to | 2024-04-22

    Probably Enzyme was the first to popularize component testing in React by doing shallow rendering and expecting some things to be there in the React component tree. Then React Testing library came and took component testing to a whole new level.

  • supertest

    🕷 Super-agent driven library for testing node.js HTTP servers using a fluent API. Maintained for @forwardemail, @ladjs, @spamscanner, @breejs, @cabinjs, and @lassjs.

  • 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.

    SurveyJS logo
  • 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
  • jest-extended

    Additional Jest matchers 🃏💪

  • Project mention: How To Use expect.objectContaining With Null and Undefined | dev.to | 2023-05-15

    I recently came across a workaround for this issue by using the expect.toBeOneOf() matcher from the jest-extended library. This matcher allows you to check whether a value matches one of the expected values, including null and undefined.

  • Unexpected

    Unexpected - the extensible BDD assertion toolkit

  • WorkOS

    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 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 Assertions 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,964
2 supertest 13,544
3 chai 8,064
4 jest-extended 2,291
5 Unexpected 370

Sponsored
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.
www.influxdata.com