theKashey / rewiremock

The right way to mock dependencies in Node.js or webpack environment.
MIT License
491 stars 31 forks source link

Remove rewiremock import not found #143

Closed fabioatcorreia closed 1 year ago

fabioatcorreia commented 1 year ago

hasRewiremock was never set to true, which made the warning message always be displayed

@theKashey

theKashey commented 1 year ago

🫠 oh. Why I did this? Why I never noticed the problem...

fabioatcorreia commented 1 year ago

It would be great if you could release this fix 🥺 The previous message introduced quite a bit of noise into our test runner.

Greatly appreciate your work 🙇

theKashey commented 1 year ago

The first thing in the morning. version 3.14.5 was released with your patch. Thank you for your contribution and please feel free to propose other solutions for other scratches.

Unfortunately (for rewiremock) I am bound to Jest, and so I no longer "know" what developer might experience using it.