elastic / elastic/request-crypto

[Coverage] add rules for minimum coverage threshold

Open
#16 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
7
Forks
5
Avg merge
17h 57m
Merged PRs (30d)
1

Description

Add rules to the `.nycrc` file to `exit(1)` when coverage drops in PRs under a certain threshold, thus failing the CI.

Currently the coverage looks like this:

```
=============================== Coverage summary ===============================
Statements : 88.46% ( 69/78 )
Branches : 66.67% ( 8/12 )
Functions : 84% ( 21/25 )
Lines : 88.46% ( 69/78 )
================================================================================
Done in 5.14s.
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.