Skip to content

Commit

Permalink
Support Code Coverage & Coveralls & Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
piecioshka committed Jun 1, 2019
1 parent 6289d8b commit e49f590
Show file tree
Hide file tree
Showing 10 changed files with 1,814 additions and 36 deletions.
7 changes: 7 additions & 0 deletions .gitignore
@@ -1,2 +1,9 @@
node_modules/
npm-debug.log

.nyc_output/
coverage/
dist/
coverage.lcov

!.vscode/
16 changes: 16 additions & 0 deletions .travis.yml
@@ -0,0 +1,16 @@
language: node_js

os:
- linux
- osx
- windows

node_js:
- "12"
- "11"
- "10"
- "9"
- "8"

after_script:
- npm run coveralls
18 changes: 18 additions & 0 deletions .vscode/launch.json
@@ -0,0 +1,18 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Unit tests",
"program": "${workspaceFolder}/node_modules/.bin/jasmine",
"args": [
"JASMINE_CONFIG_PATH=test/jasmine.json"
],
"internalConsoleOptions": "openOnSessionStart"
}
]
}
28 changes: 14 additions & 14 deletions README.md
@@ -1,29 +1,29 @@
# test-jasmine-babel

![](https://img.shields.io/badge/jasmine-2.4.1-brightgreen.svg)
![](https://img.shields.io/badge/babel--core-6.10.4-blue.svg)
[![dependencies](https://david-dm.org/piecioshka/test-jasmine-babel.svg)](https://github.com/piecioshka/test-jasmine-babel)
[![travis-ci](https://api.travis-ci.org/piecioshka/test-jasmine-babel.svg?branch=master)](https://travis-ci.org/piecioshka/test-jasmine-babel)
[![coveralls](https://coveralls.io/repos/github/piecioshka/test-jasmine-babel/badge.svg?branch=master)](https://coveralls.io/github/piecioshka/test-jasmine-babel?branch=master)
[![snyk](https://snyk.io/test/github/piecioshka/test-jasmine-babel/badge.svg?targetFile=package.json)](https://snyk.io/test/github/piecioshka/test-jasmine-babel?targetFile=package.json)

> :ledger: Test project which use Jasmine with Babel.js
## Setup

```
$ npm install
```
:ledger: Test project which use Jasmine with Babel.js

## Unit tests

```
$ npm test
```bash
npm test
```

## How to build a changelog?

Use https://github.com/tj/git-extras/blob/master/Commands.md#git-changelog:
Use <https://github.com/tj/git-extras/blob/master/Commands.md#git-changelog>:

```bash
git changelog -a -n
```
$ git changelog -a -n
```

## Related

* [test-mocha-babel](https://github.com/piecioshka/test-mocha-babel)

## License

Expand Down

0 comments on commit e49f590

Please sign in to comment.