jhnns / rewire

Easy monkey-patching for node.js unit tests
MIT License
3.08k stars 127 forks source link

Is there an actively maintained fork of this project? #173

Closed cjancsar closed 2 years ago

cjancsar commented 5 years ago

Is there an actively maintained fork of this project?

rensbaardman commented 5 years ago

I've got a fork that fixes the dependency issues (and some minor other inconveniences): https://github.com/rensbaardman/rewire. Should be a drop-in replacement.

Besides that, I don't think there is a lot of (urgent) maintaining to do. Although there are some issues that would need a more structural rewrite (e.g. to drop the eslint dependency for a real parser), but that shouldn't influence the functionality.

paulineleon commented 4 years ago

Is there an alternative ?

TranquilMarmot commented 4 years ago

If you switch to Jest, it has pretty robust module mocking capabilities built in. https://jestjs.io/docs/en/manual-mocks

jhnns commented 2 years ago

I've released a new version with some bug fixes and dependency updates. Besides that, I won't add new features or do bigger changes to the code base.