Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
public
/
sequelize
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
不要怂,就是干,撸起袖子干!
Commit 24291467
authored
Feb 19, 2019
by
Yazan Medanat
Committed by
Sushant
Feb 19, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor(coverage): replace deprecated package istanbul with nyc (#10459)
1 parent
c463314d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
.gitignore
package.json
.gitignore
View file @
2429146
...
...
@@ -13,6 +13,7 @@ sscce.js
package-lock.json
yarn.lock
.nyc_output
coverage-*
coverage
test/tmp/*
...
...
package.json
View file @
2429146
...
...
@@ -68,13 +68,13 @@
"eslint-plugin-mocha"
:
"^5.2.1"
,
"hints"
:
"^1.x"
,
"husky"
:
"^1.3.1"
,
"istanbul"
:
"^0.x"
,
"js-combinatorics"
:
"^0.5.4"
,
"lcov-result-merger"
:
"^3.0.0"
,
"lint-staged"
:
"^8.1.0"
,
"mariadb"
:
"^2.0.3"
,
"mocha"
:
"^5.x"
,
"mysql2"
:
"^1.6.4"
,
"nyc"
:
"^13.3.0"
,
"pg"
:
"^7.8.0"
,
"pg-hstore"
:
"^2.x"
,
"pg-types"
:
"^2.0.0"
,
...
...
@@ -148,8 +148,8 @@
"test-all"
:
"npm run test-mariadb && npm run test-mysql && npm run test-sqlite && npm run test-postgres && npm run test-postgres-native && npm run test-mssql"
,
"test-typings"
:
"tsc -b types/tsconfig.json && tsc -b types/test/tsconfig.json"
,
"cover"
:
"rimraf coverage && npm run teaser && npm run cover-integration && npm run cover-unit && npm run merge-coverage"
,
"cover-integration"
:
"cross-env COVERAGE=true
./node_modules/.bin/istanbul cover ./node_modules/mocha/bin/_mocha --require scripts/mocha-bootload --report lcovonly --
-t 30000 --exit --ui tdd
\"
test/integration/**/*.test.js
\"
&& node -e
\"
require('fs').renameSync('coverage/lcov.info', 'coverage/integration.info')
\"
"
,
"cover-unit"
:
"cross-env COVERAGE=true
./node_modules/.bin/istanbul cover ./node_modules/mocha/bin/_mocha --require scripts/mocha-bootload --report lcovonly --
-t 30000 --exit --ui tdd
\"
test/unit/**/*.test.js
\"
&& node -e
\"
require('fs').renameSync('coverage/lcov.info', 'coverage/unit.info')
\"
"
,
"cover-integration"
:
"cross-env COVERAGE=true
nyc --reporter=lcovonly mocha --require scripts/mocha-bootload
-t 30000 --exit --ui tdd
\"
test/integration/**/*.test.js
\"
&& node -e
\"
require('fs').renameSync('coverage/lcov.info', 'coverage/integration.info')
\"
"
,
"cover-unit"
:
"cross-env COVERAGE=true
nyc --reporter=lcovonly mocha --require scripts/mocha-bootload
-t 30000 --exit --ui tdd
\"
test/unit/**/*.test.js
\"
&& node -e
\"
require('fs').renameSync('coverage/lcov.info', 'coverage/unit.info')
\"
"
,
"merge-coverage"
:
"lcov-result-merger
\"
coverage/*.info
\"
\"
coverage/lcov.info
\"
"
,
"sscce"
:
"env-cmd $npm_package_options_env_cmd node sscce.js"
,
"sscce-mariadb"
:
"cross-env DIALECT=mariadb npm run sscce"
,
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment