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

Commit

Permalink
Update to use Jest (#124)
Browse files Browse the repository at this point in the history
* Change to use jest

* Fix linting

* No longer support node 4 & 5

* Fix test

* Update dependencies

* Update test command to include coverage
  • Loading branch information
eddiemoore committed Apr 4, 2019
1 parent a19d8f6 commit b811a12
Show file tree
Hide file tree
Showing 27 changed files with 4,893 additions and 4,439 deletions.
4 changes: 2 additions & 2 deletions .eslintrc.json
@@ -1,12 +1,12 @@
{
"extends": ["eslint:recommended", "prettier"],
"env": {
"node": true,
"mocha": true
"jest": true
},
"globals": {
"expect": true
},
"extends": ["eslint:recommended", "prettier"],
"rules": {
"no-console": "off",
"no-empty": ["error", { "allowEmptyCatch": true }]
Expand Down
15 changes: 7 additions & 8 deletions .travis.yml
Expand Up @@ -3,13 +3,12 @@ language: node_js
sudo: false

node_js:
- "10"
- "9"
- "8"
- "7"
- "6"
- "5"
- "4"
- '11'
- '10'
- '9'
- '8'
- '7'
- '6'

after_success:
- ./bin/codecov -e TRAVIS_NODE_VERSION -f .nyc_output/*.json
- ./bin/codecov -e TRAVIS_NODE_VERSION -f coverage/*.json
13 changes: 7 additions & 6 deletions appveyor.yml
@@ -1,10 +1,11 @@
environment:
matrix:
- nodejs_version: "8"
- nodejs_version: "7"
- nodejs_version: "6"
- nodejs_version: "5"
- nodejs_version: "4"
- nodejs_version: '11'
- nodejs_version: '10'
- nodejs_version: '9'
- nodejs_version: '8'
- nodejs_version: '7'
- nodejs_version: '6'

max_jobs: 4

Expand All @@ -22,7 +23,7 @@ test_script:
- npm run test

after_test:
- node .\bin\codecov -f .nyc_output\*.json
- node .\bin\codecov -f coverage\*.json

build: off

Expand Down
2 changes: 1 addition & 1 deletion circle.yml
Expand Up @@ -4,4 +4,4 @@ machine:

test:
post:
- ./bin/codecov -f .nyc_output/*.json
- ./bin/codecov -f coverage/*.json

0 comments on commit b811a12

Please sign in to comment.