For example, if npm t runs all our unit tests, current test runner command format would be:
module.exports = {
{
// ...
arguments: ['t', '--'],
testRunnerCommand: 'npm',
// ...
},
],
};
New format:
module.exports = {
{
// ...
testRunnerCommand: { command: 'npm', arguments: ['t', '--'] },
// ...
},
],
};
This would make it consistent with the format of runAllTestsCommand.
For example, if
npm truns all our unit tests, current test runner command format would be:New format:
This would make it consistent with the format of
runAllTestsCommand.