Partial: how not to mock the whole world

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
  • react-magnetic-di

    Dependency injection and replacement for React components and hooks

  • or they could be state mock injected by jest.mock or any other force (I would recommend magnetic-di)

  • shoehorn

    Work seamlessly with partial mocks in TypeScript.

  • Yeah, the last line is 🤮 and one can improve it with utilities like shoehorn hiding all complexity underneath.

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

    Seamless REST/GraphQL API mocking library for browser and Node.js.

  • they could be network mocks (use msw)

  • partial-mock

    A solution for ⬆️over and ⬇️under mocking

  • That's it - partial mock helps with the "over-mocking", situations where you mock too much, and it also solves problems with the "under-mocking" where you missing some important pieces.

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

  • [AskJS] Can we talk about Stubs, Spies and Mocks in JavaScript and what a mess they are?

    4 projects | /r/javascript | 30 Jan 2023
  • How to get started with Testing in React TypeScript

    2 projects | /r/reactjs | 28 Sep 2022
  • Do tests without seeing the code!

    3 projects | dev.to | 4 Sep 2022
  • How do you test an Axios call to a GraphQL API in React?

    2 projects | /r/reactjs | 1 Nov 2021
  • Easier TypeScript API Testing with Vitest + MSW

    3 projects | dev.to | 25 Apr 2024