Code coverage for test.
This commit is contained in:
parent
6bc1b33e8a
commit
4d63aa3a62
6
.nycrc.json
Normal file
6
.nycrc.json
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"exclude": [
|
||||
"*/external/*",
|
||||
"*/viewer/*"
|
||||
]
|
||||
}
|
||||
@ -14,6 +14,8 @@ build_script:
|
||||
|
||||
test_script:
|
||||
- npm run test
|
||||
- npm run coverage
|
||||
- npm run codecov
|
||||
|
||||
artifacts:
|
||||
- path: build\final\package\*
|
||||
|
||||
@ -10,11 +10,13 @@
|
||||
"mocha": "^8.3.2",
|
||||
"rewire": "^5.0.0",
|
||||
"svgo": "^2.2.2",
|
||||
"nyc": "^15.1.0"
|
||||
"nyc": "^15.1.0",
|
||||
"codecov": "^3.8.1"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "mocha test",
|
||||
"coverage": "nyc mocha test",
|
||||
"coverage": "nyc --reporter=lcov mocha test",
|
||||
"codecov": "codecov",
|
||||
"build": "python tools/create_package.py",
|
||||
"update": "python tools/update_includes.py",
|
||||
"svg": "python tools/optimize_svg_files.py"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user