Skip to content

Support non-global coverageThreshold #13

Open
@deini

Description

@deini

Currently this lib only support reading the global coverageThreshold, it would be nice to support bumping it for others too, eg:

coverageThreshold: {
  global: {
    branches: 100,
    functions: 100,
    lines: 100,
    statements: 100,
  },
  './src/some-dir/': {
    branches: 80,
    functions: 81,
    lines: 90,
    statements: 83,
  },
  './src/some-other-dir/': {
    branches: 100,
    functions: 100,
    lines: 100,
    statements: 100,
  },
},

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions