Code coverage report for my-awesome-module.js

# All files my-awesome-module.js

55.56% Statements 5/9
37.5% Branches 3/8
100% Functions 1/1
55.56% Lines 5/9

Press n or j to go to the next uncovered block, b, p or k for the previous block.

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    121x
    2x
    1x
    1x
    1x

     module.exports = function (x) {
      if (x % 2 === 0) {
        return 'even'
      } else Eif (x % 2 === 1) {
        return 'odd'
      } else if (x > 100) {
        return 'big'
      } else if (x < 0) {
        return 'negative'
      }
    }