I am using the params : require('../test-data/test_data.json'),
in conf.js to read the JSON Test Data for the Test.
However, I want to include more than one JSON file in the params
? If yes, then how can the same be used?
Regards,
Sakshi
I am using the params : require('../test-data/test_data.json'),
in conf.js to read the JSON Test Data for the Test.
However, I want to include more than one JSON file in the params
? If yes, then how can the same be used?
Regards,
Sakshi
It's probably a better idea to pass the filepaths that you want in your params in the config, and actually doing the merge/processing in a helper file. But if your question is asking how to merge 2 objects in javascript: How can I merge properties of two JavaScript objects dynamically?