-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FIRECERT-2113: [FCS] Process setResponseData in plugins #90
Conversation
Issue with linting or unit tests detected.
For more information on our linting policies, please see our Linting-Guide. |
Issue with linting or unit tests detected.
For more information on our linting policies, please see our Linting-Guide. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So my understanding of the purpose of this ticket was to move logic to the plugin so we wouldn't have to do as much work during the test execution. I see we are handling that logic in the plugin but I would've expected that would mean we could simplify/remove code that is ran during execution.
Am I missing something?
The function parsedMockData added in command.js will return the response based on condition. In beforeOperation we will get the key and for setresponse the response would a processed data. so if object has a key then data would be processed else parsed response will be returned. |
No description provided.