HTTP server mocking and expectations library for Node.js testing environments
67
Traffic recording and replay definitions
Recorder setup
0%
0%
Header capture
53%
0%
Stop and cleanup
33%
0%
Fixture write
100%
100%
Playback definitions
0%
0%
Passthrough option
100%
100%
Reset lifecycle
100%
0%
Path and query matching
Scoped setup
0%
0%
Dynamic path match
0%
0%
Repeated tags query
0%
0%
Encoded category match
0%
0%
Pending inspection
0%
0%
HTTP/HTTPS scope creation and verb interceptors
Scoped base URL
80%
100%
GET intercept
88%
100%
POST body match
75%
100%
Consumption check
60%
60%
Reset handling
100%
100%
Request and reply header handling
GET header match
100%
90%
Spoof blocked
50%
25%
Basic auth update
50%
40%
Default reply headers
100%
100%
Auto date and length
0%
0%
Trace echo header
100%
100%
Response definition and error replies
Scoped setup
100%
100%
Health reply
100%
100%
Dynamic order reply
92%
100%
Request error
100%
100%
Outage response
100%
100%
Network access gating and activation toggles
Blocks traffic
100%
100%
Allowlist matcher
100%
100%
Gate override
100%
100%
Hook toggling
100%
100%
Active status
100%
100%
Request body matchers
Scoped setup
100%
100%
Webhook match
100%
100%
NDJSON predicate
100%
100%
Binary matcher
100%
100%
Verification
100%
100%
Cleanup
100%
100%
Verification and lifecycle controls
Mock setup
100%
100%
Completion check
72%
80%
Pending reporting
100%
100%
Lifecycle reset
70%
100%
Run flow
66%
80%
Nock Back fixture management
Back setup
0%
0%
Record mode
0%
0%
Lockdown replay
0%
0%
Update overwrite
0%
0%
Wild passthrough
30%
0%
Cleanup
50%
50%
Event hooks for unmatched or traced requests
Unmatched hook
100%
100%
Request trace
100%
100%
Reply trace
100%
100%
Scoped mocking
100%
100%
Teardown cleanup
100%
100%
Install with Tessl CLI
npx tessl i tessl/npm-nock