question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Does c8 support config files?

See original GitHub issue

Rather than specifying the settings as flags is there support for including a config file (json format)?

This could be standalone, for example: .ava.config.json

Or included in the package manifest package.json. Perhaps using the same format as jest?

{
  "name": "my-project",
  "ava": {
    "coverageThreshold": {
      "global": {
        "branches": 80,
        "functions": 80,
        "lines": 80,
        "statements": -10
      }
  }
}

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
XhmikosRcommented, Feb 4, 2021

Yeah. But this issue is still valid; there’s no documentation about which config files are supported 😃

1reaction
bcoecommented, Dec 30, 2020

Oh, I should also add, once you have this configuration file you can create a badge based on it:

https://shields.io/category/coverage

Read more comments on GitHub >

github_iconTop Results From Across the Web

c8 | Yarn - Package Manager
CLI Options / Configuration​​ c8 can be configured via command-line flags, a c8 section in package. json , or a JSON configuration file...
Read more >
LG C8 OLED Calibration Settings - RTINGS.com
We used the following calibration settings to review the LG 55" C8 (OLED55C8PUA), and we expect them to be valid for the 65"...
Read more >
Polycom® SoundStructure® C16, C12, C8, and SR12
A single SoundStructure C16, C12, or C8 device supports 16, 12, or 8 microphone ... A SoundStructure configuration file is a binary file...
Read more >
Coverage | Guide - Vitest
Both c8 and istanbul support are optional. By default, c8 will be used. You can select the coverage tool by setting test.coverage.provider ...
Read more >
HP Switch Software - Using the CLI - HPE Support Center
CLI commands are not case-sensitive. When end-user use the CLI to make a configuration change, the switch writes the change to the Running-Config...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found