Hacker News new | ask | show | jobs
by myshkin5 433 days ago
If are doing this to ease DI and mocking, just use a mocking library that supports function mocks:

https://moqueries.org/