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 (#148)
Browse files Browse the repository at this point in the history
* feat: Added test coverage

* fix: add badges to root README
  • Loading branch information
jhellar authored Mar 29, 2019
1 parent 59693a7 commit d1dce86
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 5 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
1 change: 1 addition & 0 deletions .coveralls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
repo_token: FFKpllBfCQVsosV2LYOxikIzgwSY4VVHN
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
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Apollo Voyager Server

[![CircleCI](https://circleci.com/gh/aerogear/voyager-server.svg?style=svg)](https://circleci.com/gh/aerogear/voyager-server)
[![Coverage Status](https://coveralls.io/repos/github/aerogear/voyager-server/badge.svg)](https://coveralls.io/github/aerogear/voyager-server)

Home of the Aerogear Data Sync Framework. The goal of this project is to make it easier to build secure, production ready, realtime APIs and applications with GraphQL.

The project does this by taking the popular [Apollo Server](https://www.apollographql.com/docs/apollo-server/) framework and adding additional components to solve some common problems.
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"
]
}
}
2 changes: 0 additions & 2 deletions packages/voyager-server/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# voyager-server

[![CircleCI](https://circleci.com/gh/aerogear/voyager-server.svg?style=svg)](https://circleci.com/gh/aerogear/voyager-server)

Apollo Voyager Server makes it easier to build secure, production ready, realtime APIs with GraphQL. [Read the Docs Here](https://github.com/aerogear/voyager-server).

0 comments on commit d1dce86

Please sign in to comment.