Skip to content
This repository has been archived by the owner on Jul 1, 2023. It is now read-only.

singleRun karma option is not taken into account #3

Open
Frimlik opened this issue Aug 18, 2022 · 0 comments
Open

singleRun karma option is not taken into account #3

Frimlik opened this issue Aug 18, 2022 · 0 comments

Comments

@Frimlik
Copy link

Frimlik commented Aug 18, 2022

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant