-
Notifications
You must be signed in to change notification settings - Fork 89
Open
Description
I have the need to mock some xml responses, but make some changes to the content on the fly.
I can easily have the .mock file import a .js file that will, in turn, load and modify the xml.
the thing is, the importHandler.js file clearly states that
if (importThisFile.endsWith('.js')) {
return JSON.stringify(eval(content.toString()));
so my xml comes out as a json stringified string...
is there another way to go about this?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels