https://github.com/rhzs/nock-demo
Nock Demo - How to do integration testing
https://github.com/rhzs/nock-demo
integration-testing nodejs
Last synced: about 1 month ago
JSON representation
Nock Demo - How to do integration testing
- Host: GitHub
- URL: https://github.com/rhzs/nock-demo
- Owner: rhzs
- Created: 2018-11-09T02:01:25.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-09T02:03:59.000Z (over 7 years ago)
- Last Synced: 2025-05-17T07:08:08.229Z (about 1 year ago)
- Topics: integration-testing, nodejs
- Language: JavaScript
- Size: 1.8 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Nock Demo
This is the demo for how to use "Nock" to help integration testing.
### How to run
1. Install dependencies, type `npm i`
2. Run `npm start`.
You will see the following results:
```shell
➜ npm start
> nested-nock-demo@1.0.0 start /Users/angel/Work/nested-nock
> node index.js
{ status: 'up' }
{ meat: [ 'beef', 'chicken' ] }
```