Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

Commit

Permalink
feat: Added test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
jhellar committed Mar 29, 2019
1 parent 59693a7 commit 3e07ade
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ jobs:
- run:
name: test
command: npm test
- run:
name: coverage
command: npm run coverage
- run:
name: Lint all TypeScript code
command: npm run lint:ts
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ yarn-error.log*
# Coverage (from Jest)
coverage/

# Coverage (from nyc)
.nyc_output

# JUnit Reports (used mainly in CircleCI)
reports/
junit.xml
Expand Down
17 changes: 14 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"name": "@aerogear/voyager-server-monorepo",
"private": true,
"scripts": {
"test": "lerna exec -- npm test",
"test": "nyc lerna exec -- npm test",
"coverage": "nyc report --reporter=text-lcov | coveralls",
"bootstrap": "lerna bootstrap --no-ci",
"clean": "lerna clean --yes",
"lint": "npm run lint:ts",
Expand All @@ -27,12 +28,22 @@
"@types/node": "10.14.3",
"@types/pino": "5.20.0",
"ava": "1.4.0",
"coveralls": "^3.0.3",
"graphql": "14.1.1",
"lerna": "3.13.1",
"nyc": "^13.3.0",
"standard": "12.0.1",
"ts-node": "8.0.3",
"tslint": "5.14.0",
"typescript": "3.3.4000",
"typedoc": "0.14.2",
"standard": "12.0.1"
"typescript": "3.3.4000"
},
"nyc": {
"extension": [
".ts"
],
"exclude": [
"**/*.test.ts"
]
}
}

0 comments on commit 3e07ade

Please sign in to comment.