GithubHelp home page GithubHelp logo

Comments (4)

simonecorsi avatar simonecorsi commented on September 7, 2024 1

I'm really sorry I missed this issue for so long, it must have slipped in the notification panel :((

Anyway I've just moved this to ESM in the new major!
If you still need this feel free to open a PR!

from lcov-total.

simonecorsi avatar simonecorsi commented on September 7, 2024

Hey @lirantal,

if you need a way to fail/pass according to a threshold there is already a flag to do like so eg: npx lcov-total lcov.info --gte=90 which will exit with code 1 or 0 based on a greater than equal condition check.

Is this what you were looking for? Or are you suggesting granular control over multiple conditions like jest?

from lcov-total.

lirantal avatar lirantal commented on September 7, 2024

It's close to that. I don't want to specify the thresholds over command line but rather have lcov-total already take it from where it is defined in the package.json file. Jest puts it there as well as nyc.

from lcov-total.

lirantal avatar lirantal commented on September 7, 2024

Appreciate that, thank you Simone 🤗

from lcov-total.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.