Open fdrobidoux opened 1 year ago
I made the mistake of doing this, and it cost me a bunch of time :
mockAxiosAdapter.onGet("/groups") .replyOnce(200, Promise.resolve(groups));
Could it be possible to resolve Promises in the transformRequest(data) function in handle_request.js?
transformRequest(data)
handle_request.js
Thanks!
why you don't await the promises before and add to the mock just the returned data?
I made the mistake of doing this, and it cost me a bunch of time :
Could it be possible to resolve Promises in the
transformRequest(data)
function inhandle_request.js
?Thanks!