I've a node module which gives a karma config pre configured for the developer to test his component. But I want the developer to give the option to over ride (smart merge) it. But while looking at this stackoverflow question, and the karma code on github :
I'm not able to find it why if I do
let Server = require("karma").Server,
let server = new Server(KCObjectPath, (exitCode) => {
console.log("Karma has exited with exitcode " + exitCode);
process.exit(1);
});
where KCObjectPath is the config object (instead of the config function, as shown in karma docs), it does not work properly.
If somebody could help that'd be great, thanks.
No responses yet.