Skip to content

Commit

Permalink
Adding coveralls config
Browse files Browse the repository at this point in the history
  • Loading branch information
nbeach committed Apr 11, 2018
1 parent a6fa2ef commit 3383076
Show file tree
Hide file tree
Showing 6 changed files with 1,687 additions and 13 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
.idea/
node_modules/
.nyc_output/
npm-debug.log
yarn-error.log
**/*.js
**/*.js.map
**/*.d.ts
4 changes: 3 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
.idea/
.nyc_output/
node_modules/
**/*.spec.*

mocha.opts
mocha-shim.ts
tsconfig.json
npm-debug.log
yarn-error.log
yarn-error.log
yarn.lock
8 changes: 7 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
language: node_js
node_js:
- lts/*
- lts/*
script:
- yarn test:coverage
env:
global:
- secure: UMS0tIIrnrLHe0MSuBkDF2Tj0VhoqbTN1xrmYreV8NiON3iO9mrs/beom4AdzbGGpUSqlJnyaVYsfdOIqiAk2FTIwXc99QTCQjke3KVQ54IYFkELuk8tEr7bHjDQIFg1Y7OKDJbiNTDv2cLESQQJMql5PM+qXHzVNv7Q/EI+5j0gn9lOeSCDuOyzVw54eVdUEKZrGhlRqOQPDlvKX7a6X1YHgWeNGXNNgpon4Ul1cXYQ+8wB8/L3pcLyM3xGHS9bitRbmnT1wwnWcssM57Ob86rfT+Md8qMN7ECkwNXaOgywboIKMbLYm1QfHyU9iPqkidgWCMB+m10chkVrWbWhcAh30Hhy1J/9SU7gJluZGfx9/t5CS/yIs1uthN3m6uIfLBH/sWCy/MJkvKP9knayczflXEjn/kRNrmINnCcinHt4aHe0MkbMQD7rQ4Nd+eee3jAaLmoCKZ5cH9j7S5h7h/WFg9//lokCmKjIjPPQJwf/QAChdZol1oXi8ylfvb33kgh3NEbNChwLRg4vnR3Z/Mth+oBMOi+PguMj61NYQKDBnarkJ+yaQjOKHv+5PPd1quHYEkUmCRGMZp4YS6QvYS5xFxbdca0h8VTKxeHOEOcxsKuwUItzA7PPbl4hNdY/Ru5IxPKBPw0yrM2ed2ZrJmGhtnN3gBJn127vi+u5pkc=
- secure: Y9HvPzu3kG6mQ5vHlsUa7xJRZXi/GROVfz3AhIJlUpxD9NYEG0TkmjzcmGsbe4EzuLHzLtShHFO4SFGaDXVWIdKbLOkGPsiJ16iNGHWa6i8Gyxm+ewwjcVDM8ehwkzZVylhltnC1UDbIujJT0qcFJuoFUooE/MtJFPswUMctqHGvhqWd7cHUmcK30ujTmoEfQ9qmkgy8t5hYvUll6ddVvy14jcO9y2o+47CuhZGWYI+6qLgRZ6vbmq0OzThZoZY/G/Z1/LpkdfMHVDMzrDGWs2AJ3ZUaN0xkhhuTSHKDIb1CiK2A21X+wPncTwheq25KzhiZmOOqxPNWfTudMDADnqY2Wnz4S96l1PNawv2WHsdyqAQ9TAaz0X0fAS+JuHBhqAhLcHskG468f35juR2MvaU9P4yi1HWXrhXmklHACWYYesK9xuJbpNjA/WmURHGB+CdSd2LP/Y9xYHQ05BNQBrSE8Ej47XeyMlAsakHW/x9Jl+MvSoWp5bl1TgYoDnYJcu1zcQipIJRoiu7SlzaDvW9y3xXbB2ceRmOdBJ6ddz6kKfX7VixOUUmBweJYb6JNtu+085cB+DRY0iBJhQrPExvDdrTi1tBWU6PyYX+RPg9f2JqbW7V65XGISupJZYop3JcoySp5mpODL98aKTJFDY3XKV9TQW7hxL5DA6Qk/L0=
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# ng-unit
Testing utilities for Angular
[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/nbeach/ng-unit/blob/master/LICENSE)
[![npm version](https://img.shields.io/npm/v/ng-unit.svg?style=flat)](https://www.npmjs.com/package/ng-unit)
[![Build Status](https://travis-ci.org/nbeach/ng-unit.svg?branch=masterbadge)](https://travis-ci.org/nbeach/ng-unit)
[![Coverage Status](https://img.shields.io/coveralls/facebook/react/master.svg?style=flat)](https://coveralls.io/github/nbeach/ng-unit?branch=master)

Boilerplate reducing test utilities for Angular.

### Usage
```typescript
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
"release:tag": "git tag $(node -p -e \"require('./package.json').version\") && git push origin --tags",
"release": "npm test && npm run build && npm run release:tag && npm publish",
"test": "mocha --opts mocha.opts",
"test:watch": "mocha --opts mocha.opts --watch --reporter progress"
"test:watch": "mocha --opts mocha.opts --watch --reporter progress",
"test:coverage": "nyc mocha --opts mocha.opts && nyc report --reporter=text-lcov | coveralls"
},
"devDependencies": {
"@angular/common": "^5.2.9",
Expand All @@ -44,9 +45,11 @@
"chai": "^3.5.0",
"chai-dom": "^1.5.0",
"core-js": "^2.5.1",
"coveralls": "^3.0.0",
"jsdom": "^11.2.0",
"mocha": "^3.0.1",
"mocha-where": "^1.0.3",
"nyc": "^11.6.0",
"rimraf": "^2.6.2",
"rxjs": "^5.4.3",
"sinon-chai": "^2.14.0",
Expand Down

0 comments on commit 3383076

Please sign in to comment.