[Vuejs]-Test code coverage all lines tested but not 100% on branches and statements

2👍

As jesse found where was the issue … I added the istanbul ignore …

     [types.START] (state) {
        state.started = true
        state.paused = false
        state.stopped = false
        /* istanbul ignore next */
        state.interval = setInterval(() => tick(state), 1000)
        if (state.isWorking && state.soundEnabled) {
          Vue.noise.start()
        }
      },

and now the coverage is 100%…

Leave a comment