[nock] Add Promise based Nock Back types#24808
[nock] Add Promise based Nock Back types#24808mhegazy merged 2 commits intoDefinitelyTyped:masterfrom
Conversation
|
@edorivai Thank you for submitting this PR! 🔔 @bonnici @horiuchi @afharo @mastermatt @damour - please review this PR in the next few days. Be sure to explicitly select If no reviewer appears after a week, a DefinitelyTyped maintainer will review the PR instead. |
mastermatt
left a comment
There was a problem hiding this comment.
Can you add usage to nock-tests.ts please?
I would recommend starting with the snippet you included in the PR desc then show usages of the props on the NockBackContext instance.
|
@edorivai One or more reviewers has requested changes. Please address their comments. I'll be back once they sign off or you've pushed new commits. Thank you! |
|
🔔 @mastermatt - Thanks for your review of this PR! Can you please look at the new code and update your review status if appropriate? |
|
A definition author has approved this PR ⭐️. A maintainer will merge this PR shortly. If it shouldn't be merged yet, please leave a comment saying so and we'll wait. Thank you for your contribution to DefinitelyTyped! |
Documentation:
https://github.com/node-nock/nock#nock-back
Please fill in this template.
npm test.)npm run lint package-name(ortscif notslint.jsonis present).Select one of these and delete the others:
If changing an existing definition:
tslint.jsoncontaining{ "extends": "dtslint/dt.json" }.Relevant snippet from docs: