Closed marcghorayeb closed 7 years ago
While I don't use Node v8 myself yet, I do expect Mitm.js to work under it. The tests as they are now, do pass under Node v8. Checking out _http_client of Node v8 hints it's got something to do with keep-alive — an option the tests don't include. You're using keep-alive, right?
I tracked this down, added a failing test and added the getAsyncId
function Node v8 expects to exist. It's up as Mitm.js vs 1.3.3. ;) Let me know if it works out.
The tests seem to pass better, thanks a lot for the fix and the quick reply 👍
Hello,
We've been testing Mitm to mock some API calls when in a test environment and it works great under node 4.
I've been trying to test the module under node 8 and it seems that there are some failing tests. Furthermore, when running our project's test, we receive an uncaught exception:
Is this module node 8 compatible ? Any idea what might be failing ?
Thanks for your help!
Best,