ericclemmons / ericclemmons/node-recorder

record requests once

Open
#20 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
97
Forks
3
PR merge metrics
No merged PRs in 30d

Description

Sometimes tests will repeat the same call multiple times.

When recording, each requests should be memoized so that the single response is used once.

**Alternatively**, every call could be intercepted & put into a queue, which is then handled until it's empty.

That way every call (removing `process.nextTick`) happens in a serial fashion.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.