thlorenz / proxyquire

🔮 Proxies nodejs require in order to allow overriding dependencies during testing.
MIT License
2.75k stars 100 forks source link

Proxyquire compatibility with ESM #271

Closed IsaacChaverri closed 2 years ago

IsaacChaverri commented 2 years ago

Hello! We are currently using Proxyquire to run tests with our apps, which means we have a large dependency on Proxyquire, and we were wondering what the future holds for ESM in regards to Proxyquire. Is there a plan to add ESM support to Proxyquire? And if so, is there an estimated date for this?

bendrucker commented 2 years ago

https://github.com/thlorenz/proxyquire/issues/217#issuecomment-1143690177