all files / src/vuex/ getters.js

20% Statements 2/10
100% Branches 0/0
0% Functions 0/8
11.11% Lines 1/9
1 2 3 4 5 6 7 8 9 10 11 12                       
export default {
  isStarted: state => state.started,
  isPaused: state => state.paused,
  isStopped: state => state.stopped,
  isWorking: state => state.isWorking,
  getMinutes: state => Math.floor(state.counter / 60),
  getSeconds: state => state.counter % 60,
  getTimestamp: state => state.timestamp,
  isSoundEnabled: state => state.soundEnabled
}