1
0
mirror of https://github.com/oceanprotocol/ocean.js.git synced 2024-11-26 20:39:05 +01:00

Merge pull request #96 from oceanprotocol/feature/test-coverage-matrix-tool

add coverage report tool
This commit is contained in:
Ahmed Ali 2020-06-19 17:51:42 +02:00 committed by GitHub
commit a42cffefbc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 12 deletions

View File

@ -22,7 +22,7 @@ before_script:
script:
- npm run lint
- npm run build
- npm run test:unit
- npm run test:cover
notifications:
email: false

View File

@ -1,10 +0,0 @@
{
"name": "Ocean Library",
"repository": {
"type": "git",
"url": "https://github.com/oceanprotocol/ocean-lib-js.git"
},
"dependencies": [
]
}

View File

@ -17,7 +17,8 @@
"changelog": "auto-changelog -p",
"prepublishOnly": "npm run build",
"test:unit": "mocha --config=test/unit/.mocharc.json --node-env=test --exit test/unit/**/*.ts",
"test:integration": "mocha --opts test/integration/mocha.opts"
"test:integration": "mocha --opts test/integration/mocha.opts",
"test:cover": "nyc --report-dir coverage/unit npm run test:unit"
},
"repository": {
"type": "git",