Skip to content
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

FIO-8556: Test coverage metrics #5755

Merged
merged 9 commits into from
Sep 17, 2024
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ bower_components
.ruby-version
.ruby-gemset
/.vs
coverage
.nyc_output
20 changes: 17 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,10 @@
"dopublish": "npm run build && npm run tag && npm publish",
"lint": "eslint ./src --fix",
"serve": "jekyll serve --config _config.yml,_config.dev.yml",
"test": "mocha 'src/**/*.unit.js'",
"test:updateRenders": "npm run lib && TZ=UTC node --require jsdom-global/register test/updateRenders.js",
"test:e2e": "NODE_OPTIONS=\"--max-old-space-size=4096\" karma start --verbose --single-run"
"test": "nyc --reporter=lcov --reporter=text --reporter=text-summary mocha test/unit/*.unit.js",
"test:updateRenders": "npm run lib && cross-env TZ=UTC node --require jsdom-global/register test/updateRenders.js",
"test:e2e": "NODE_OPTIONS=\"--max-old-space-size=4096\" karma start --verbose --single-run",
"show-coverage": "open coverage/lcov-report/index.html"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -155,6 +156,7 @@
"mocha": "^10.3.0",
"mock-local-storage": "^1.1.24",
"natives": "^1.1.6",
"nyc": "^17.0.0",
"power-assert": "^1.6.1",
"pre-commit": "^1.2.2",
"pretty": "^2.0.0",
Expand All @@ -174,5 +176,17 @@
"webpack-cli": "^5.1.1",
"webpack-node-externals": "^3.0.0",
"webpack-stream": "^7.0.0"
},
"nyc": {
"check-coverage": true,
"statements": 63,
"branches": 63,
"functions": 61,
"lines": 64,
"include": ["src/**/*.js"],
"exclude": [
"src/**/fixtures"
],
"all": true
}
}
1 change: 0 additions & 1 deletion src/components/signature/Signature.unit.js

This file was deleted.

91 changes: 0 additions & 91 deletions test/forms/wizardWithFieldsValidationChild.d.ts

This file was deleted.

186 changes: 0 additions & 186 deletions test/forms/wizardWithFieldsValidationChild.js

This file was deleted.

41 changes: 0 additions & 41 deletions test/forms/wizardWithFieldsValidationParent.d.ts

This file was deleted.

Loading
Loading