Skip to content

Commit

Permalink
fix lint and coverage issues
Browse files Browse the repository at this point in the history
  • Loading branch information
floydpink committed Jun 1, 2021
1 parent 3bf2c16 commit d327432
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
7 changes: 5 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,11 @@ jobs:
name: Lint
command: npm run lint
- run:
name: Run test
command: npm test
name: Run tests
command: npm run test
- run:
name: Generate Coverage
command: npm run coverage
- run:
name: Push Coverage
command: codecov
Expand Down
1 change: 0 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Test against the latest version of this Node.js version
environment:
matrix:
- nodejs_version: "16"
- nodejs_version: "15"
- nodejs_version: "14"
- nodejs_version: "12"
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@
"test": "test"
},
"scripts": {
"lint": "jshint --reporter=node_modules/jshint-stylish lzwCompress.js && jshint --reporter=node_modules/jshint-stylish test/lzwCompress.spec.js",
"test": "nyc jasmine"
"coverage": "nyc report --reporter=text-lcov | coveralls",
"lint": "jshint --reporter=node_modules/jshint-stylish lzwCompress.js && jshint --reporter=node_modules/jshint-stylish spec/lzwCompress.spec.js",
"test": "nyc --reporter=lcov --reporter=text --reporter=html jasmine"
},
"files": [
"package.json",
Expand Down

0 comments on commit d327432

Please # to comment.