Skip to content

Commit

Permalink
test,docs: add coverage minimum, correct shields.io badges
Browse files Browse the repository at this point in the history
  • Loading branch information
ngfelixl committed Feb 2, 2019
1 parent e56d0b8 commit 5d8a5e2
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 3 deletions.
14 changes: 12 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Vectormath

![build](https://img.shields.io/travis/ngfelixl/vectormath.svg)
![coverage](https://img.shields.io/coveralls/:vcsType/ngfelixl/vectormath.svg)
![build](https://travis-ci.org/ngfelixl/vectormath.svg?branch=master)
[![Coverage Status](https://coveralls.io/repos/github/ngfelixl/vectormath/badge.svg?branch=master)](https://coveralls.io/github/ngfelixl/vectormath?branch=master)
![license](https://img.shields.io/npm/l/vectormath.svg)
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)

Expand Down Expand Up @@ -167,3 +167,13 @@ free to contribute. You are very welcome.
Contributions and new ideas are very welcome.

## 5 Get in touch

[![twitter](https://img.shields.io/badge/twitter-%40ngfelixl-blue.svg?logo=twitter)](https://twitter.com/intent/follow?screen_name=ngfelixl)
[![github](https://img.shields.io/badge/github-%40ngfelixl-blue.svg?logo=github)](https://github.com/ngfelixl)

Hi, I am Felix,
Angular and NgRX contributor

![avatar](https://avatars2.githubusercontent.com/u/24190530?s=200&v=4)

If you like this library, think about giving it a star or follow me on twitter or github.
10 changes: 9 additions & 1 deletion jestconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,13 @@
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"moduleFileExtensions": ["ts", "tsx", "js", "jsx", "json", "node"],
"testEnvironment": "node"
"testEnvironment": "node",
"coverageThreshold": {
"global": {
"branches": 80,
"functions": 80,
"lines": 80,
"statements": 80
}
}
}

0 comments on commit 5d8a5e2

Please sign in to comment.