Skip to content

refactor(test): Mocha DSL for destroy & dynamic mocks.#1941

Merged
mastermatt merged 1 commit intonock:masterfrom
mastermatt:1305/destroy-dynamic/mocha
Mar 3, 2020
Merged

refactor(test): Mocha DSL for destroy & dynamic mocks.#1941
mastermatt merged 1 commit intonock:masterfrom
mastermatt:1305/destroy-dynamic/mocha

Conversation

@mastermatt
Copy link
Copy Markdown
Member

I moved the one test from 'dynamic' to test_reply_function_async.js since it was passing the callback as a second arg, then added a few tests to test_dynamic_mock.js to cover body and headers being optional.

@mastermatt mastermatt added this to the Migrate to Mocha/Chai milestone Mar 3, 2020
@mastermatt mastermatt requested a review from paulmelnikow March 3, 2020 13:27
@mastermatt mastermatt merged commit afbd343 into nock:master Mar 3, 2020
@mastermatt mastermatt deleted the 1305/destroy-dynamic/mocha branch March 3, 2020 18:45
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 12.0.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

juninmd pushed a commit to juninmd/nock that referenced this pull request Mar 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants