File tree Expand file tree Collapse file tree 4 files changed +753
-9
lines changed Expand file tree Collapse file tree 4 files changed +753
-9
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ lib-cov
2121
2222# Coverage directory used by tools like istanbul
2323coverage
24+ .nyc_output
2425
2526# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
2627.grunt
Original file line number Diff line number Diff line change 1+ Add a way to measure test coverage.
Original file line number Diff line number Diff line change 1313 "build:app" : " tsc --build" ,
1414 "build:widget" : " vite build --config widget/vite.config.ts" ,
1515 "test" : " yarn test:unit && yarn test:integration" ,
16+ "test:coverage" : " nyc --reporter=text --reporter=html mocha --exit --reporter list --ui bdd --require ts-node/register --recursive tests/*/*.ts" ,
1617 "test:unit" : " mocha --require ts-node/register --recursive tests/unit/*.ts" ,
1718 "test:integration" : " mocha --exit --reporter list --ui bdd --require ts-node/register --recursive tests/integration/*.ts" ,
1819 "test:postgres" : " SLACKBRIDGE_TEST_ENABLEPG=yes mocha --reporter list --ui bdd --require ts-node/register --recursive tests/integration/PgDatastoreTest.ts" ,
8586 "eslint-plugin-react-hooks" : " ^4.6.0" ,
8687 "js-yaml" : " ^4.1.0" ,
8788 "mocha" : " ^10.0.0" ,
89+ "nyc" : " ^15.1.0" ,
8890 "postcss" : " ^8.4.21" ,
8991 "prom-client" : " ^14.0.1" ,
9092 "source-map-support" : " ^0.5.19" ,
You can’t perform that action at this time.
0 commit comments