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. Learn more →
JavaScript Nock Projects
-
currency-api
A demo project on how to test a node/express app with Mocha, Nock and proxyquire (MNP) and code coverage with nyc/istanbul. (by geshan)
-
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.
So, why would you want a REAL server to mock request/reponses? You have a lot of intercepts today that sit on the network layer and you can define things like "If you send request to that endpoint, with that json, please return that Status" (for NodeJS example, Nock - https://github.com/nock/nock)
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 Nock related posts
- Contract Testing?
- I made wirepig, a simple way to mock HTTP and TCP dependencies in tests.
- Is there a better way to mock an axios call?
- How to test an endpoint that depends on external API?
- How to mock a useQuery in jest?
- Is there a publicly-available mock Instagram Graph API server? If not, how can I get one set up quickly & easily?
- Jest mock fetch to return different values on different invocations
-
A note from our sponsor - SurveyJS
surveyjs.io | 25 Apr 2024
Index
Project | Stars | |
---|---|---|
1 | Nock | 12,527 |
2 | currency-api | 19 |
Sponsored
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