Skip to content

Commit

Permalink
Moved code coverage in the test to a separate command.
Browse files Browse the repository at this point in the history
  • Loading branch information
dmundra committed Sep 21, 2024
1 parent 9d1f2c2 commit 06b8d92
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@
},
"scripts": {
"build": "tsc",
"test": "nyc --reporter=lcov --reporter=text ./node_modules/.bin/_mocha 'tests/**/*.test.ts'",
"test": "./node_modules/.bin/_mocha 'tests/**/*.test.ts'",
"test-with-code-coverage": "nyc --reporter=lcov --reporter=text ./node_modules/.bin/_mocha 'tests/**/*.test.ts'",
"lint": "eslint . --ext .ts",
"generate-example-output": "npx ts-node src/openacr.ts output -f tests/examples/valid.yaml -c catalog/2.4-edition-wcag-2.0-508-en.yaml -o tests/examples/valid.markdown",
"generate-drupal-output": "npx ts-node src/openacr.ts output -f openacr/drupal-9.yaml -c catalog/2.4-edition-wcag-2.1-508-en.yaml -o openacr/drupal-9.markdown",
Expand Down

0 comments on commit 06b8d92

Please sign in to comment.