Koleok / jest-coverage-ratchet

Uses jest coverage output to raise acceptable coverage threshold to current coverage
MIT License
41 stars 12 forks source link

Is there a mechanism to check the previously ran thresholds #7

Open netkuttappan opened 6 years ago

netkuttappan commented 6 years ago

Currently i am hardcoding the threshold values

 "coverageThreshold": {
      "global": {
        "lines": 80.00,
        "statements": 80.00,
        "functions": 80.00,
        "branches": 80.00
      }
    },

Is there a way to check the previous build coverage threshold and make sure that the coverage did not go low in the current build

bruha commented 2 years ago

Take a look at jest-coverage-validator