ctimmerm / axios-mock-adapter

Axios adapter that allows to easily mock requests
MIT License
3.47k stars 245 forks source link

Not working after Node 18 Upgrade #359

Closed AustinMutschler closed 1 year ago

AustinMutschler commented 1 year ago

Hello I have the following setup:

"axios": "0.21.2" "axios-mock-adapter": "1.21.2",

We recently attempted to upgrade to Node 18 but after doing so and running our test, most Axios calls are trying to make an actual network request where they were previously mocked. One of my URL params does have {} in it like ?projection={"test": 1} but I am not sure how that would be an issue after our Node 18 update.

marcbachmann commented 1 year ago

I've been running node 18 since a while and haven't observed that issue. Node 18 is also in the test matrix. I'll close this for now until there's a reproduction.