all files / src/ get-base.js

100% Statements 6/6
100% Branches 6/6
100% Functions 1/1
100% Lines 4/4
1 2 3 4 5 6 7 91× 63× 17×      
module.exports = function getBase (groupId, twelveHourTime) {
  if (!groupId) return twelveHourTime ? 12 : 24
  if (groupId < 3) return 60
  return 1000
}