Simplifying jest stubs using jest-when

This page summarizes the projects mentioned and recommended in the original post on dev.to

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.io
featured
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.
www.influxdata.com
featured
  • practice_program_js_audiense

    Practice program for Audiense in JavaScript

  • In a recent deliberate practice session with some developers from Audiense (with whom we’re doing the Codesai’s Practice Program twice a month), we were solving the Unusual Spending Kata in JavaScript.

  • jest

    Delightful JavaScript Testing.

  • While test-driving the UnusualSpendingDetector class we found that writing stubs using plain jest can be a bit hard. The reason is that jest does not match mocked function arguments, so to create stubbed responses for particular values of the arguments we are forced to introduce logic in the tests.

  • 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
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • API Testing with Clerk and Express

    1 project | dev.to | 25 Mar 2024
  • Testing library for Node.js and React

    1 project | dev.to | 29 Feb 2024
  • Tests Everywhere - JavaScript

    2 projects | dev.to | 23 Nov 2023
  • Testing Express API Routes the Easy Way: Beginners' guide.

    3 projects | dev.to | 19 Nov 2023
  • Node.js Unit Testing with Jest: A Quick Guide

    1 project | dev.to | 26 Oct 2023