singleRun karma option is not taken into account
Frimlik opened this issue · comments
Frimlik commented
There is a conflict between fail-fast
reporter and singleRun
property.
If my configuration looks like this
module.exports = function (config) {
config.set({
// some stuff
reporters: ['fail-fast'],
singleRun: false,
// some stuff
the reporter ends running after the first failed spec anyway and test must be run again, which means new compilation etc., which is not friendly. Optimal behavior would be to look at singleRun
parameter and exit the test according to the parameter's value.