Skip to content

use check-code-coverage module #190

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 10, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 21 additions & 21 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ workflows:
- run:
name: Check code coverage 📈
command: |
node ../../scripts/check-coverage server.js
node ../../scripts/only-covered server.js
../../node_modules/.bin/check-coverage server.js
../../node_modules/.bin/only-covered server.js
working_directory: examples/backend

- cypress/run:
Expand Down Expand Up @@ -130,10 +130,10 @@ workflows:
- run:
name: Check code coverage 📈
command: |
node ../../scripts/check-coverage fullstack/server/server.js
node ../../scripts/check-coverage fullstack/main.js
node ../../scripts/check-coverage fullstack/string-utils.js
node ../../scripts/only-covered server.js main.js string-utils.js
../../node_modules/.bin/check-coverage fullstack/server/server.js
../../node_modules/.bin/check-coverage fullstack/main.js
../../node_modules/.bin/check-coverage fullstack/string-utils.js
../../node_modules/.bin/only-covered server.js main.js string-utils.js
working_directory: examples/fullstack

- cypress/run:
Expand Down Expand Up @@ -161,8 +161,8 @@ workflows:
- run:
name: Check code coverage 📈
command: |
node ../../scripts/check-coverage main.js
node ../../scripts/only-covered main.js
../../node_modules/.bin/check-coverage main.js
../../node_modules/.bin/only-covered main.js
working_directory: examples/before-each-visit

- cypress/run:
Expand Down Expand Up @@ -190,8 +190,8 @@ workflows:
- run:
name: Check code coverage 📈
command: |
node ../../scripts/check-coverage main.js
node ../../scripts/only-covered main.js
../../node_modules/.bin/check-coverage main.js
../../node_modules/.bin/only-covered main.js
working_directory: examples/before-all-visit

- cypress/run:
Expand All @@ -218,8 +218,8 @@ workflows:
- run:
name: Check code coverage 📈
command: |
node ../../scripts/check-coverage main.ts
node ../../scripts/only-covered main.ts
../../node_modules/.bin/check-coverage main.ts
../../node_modules/.bin/only-covered main.ts
working_directory: examples/ts-example

- cypress/run:
Expand Down Expand Up @@ -250,9 +250,9 @@ workflows:
- run:
name: Check code coverage 📈
command: |
node ../../scripts/check-coverage main.js
node ../../scripts/check-coverage unit-utils.js
node ../../scripts/only-covered main.js unit-utils.js
../../node_modules/.bin/check-coverage main.js
../../node_modules/.bin/check-coverage unit-utils.js
../../node_modules/.bin/only-covered main.js unit-utils.js
working_directory: examples/same-folder

- cypress/run:
Expand Down Expand Up @@ -282,8 +282,8 @@ workflows:
- run:
name: Check code coverage 📈
command: |
node ../../scripts/check-coverage main.js
node ../../scripts/only-covered main.js
../../node_modules/.bin/check-coverage main.js
../../node_modules/.bin/only-covered main.js
working_directory: examples/support-files

- cypress/run:
Expand Down Expand Up @@ -311,8 +311,8 @@ workflows:
- run:
name: Check code coverage 📈
command: |
node ../../scripts/check-coverage main.js
node ../../scripts/only-covered main.js
../../node_modules/.bin/check-coverage main.js
../../node_modules/.bin/only-covered main.js
working_directory: examples/use-plugins-and-support

- cypress/run:
Expand Down Expand Up @@ -340,8 +340,8 @@ workflows:
- run:
name: Check code coverage 📈
command: |
node ../../scripts/check-coverage main.js
node ../../scripts/only-covered main.js
../../node_modules/.bin/check-coverage main.js
../../node_modules/.bin/only-covered main.js
working_directory: examples/one-spec

- publish:
Expand Down
9 changes: 9 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
"@babel/core": "7.9.0",
"@istanbuljs/nyc-config-typescript": "1.0.1",
"babel-plugin-istanbul": "6.0.0",
"check-code-coverage": "1.0.1",
"cypress": "4.3.0",
"express": "4.17.1",
"lodash": "4.17.15",
Expand Down
47 changes: 0 additions & 47 deletions scripts/check-coverage.js

This file was deleted.

51 changes: 0 additions & 51 deletions scripts/only-covered.js

This file was deleted.