Support mocking for async methods
Right now, mocking is only supported for HttpClient. Support it for if possible
-
Async -
AsyncVaried
AsyncVaried is used inside of Async, so should just need to adjust AsyncVaried
see local branch mock-async
It's not clear how to do this.
I can't see a way to mock the mutli curl api, but maybe it can be dumber than that ...
ah, so is this a limit for http testing at the moment?
yes, right now async requests can't be tested with webmockr or vcr
Good to know!
so just as a note, in ropenaq tests that uses async requests got skip_if_offline() :-)