Skip to content
Snippets Groups Projects
Commit 31c32994 authored by Brady James Garvin's avatar Brady James Garvin
Browse files

Added NPM scripts for running specific tests.

parent b53fa2b3
No related branches found
No related tags found
No related merge requests found
...@@ -10,6 +10,8 @@ ...@@ -10,6 +10,8 @@
"postinstall": "run-s postinstall:**", "postinstall": "run-s postinstall:**",
"lint:app": "cd syntactic-monoids && npm run lint", "lint:app": "cd syntactic-monoids && npm run lint",
"lint": "run-s --continue-on-error lint:**", "lint": "run-s --continue-on-error lint:**",
"test-once:comments": "cd syntactic-monoids && npm run test-once:comments",
"test-once:texMath": "cd syntactic-monoids && npm run test-once:texMath",
"test-once": "cd syntactic-monoids && npm run test-once", "test-once": "cd syntactic-monoids && npm run test-once",
"test": "run-s test-once" "test": "run-s test-once"
}, },
......
...@@ -8,6 +8,8 @@ ...@@ -8,6 +8,8 @@
"scripts": { "scripts": {
"lint:js": "eslint --max-warnings 0 ./src", "lint:js": "eslint --max-warnings 0 ./src",
"lint": "run-s --continue-on-error lint:**", "lint": "run-s --continue-on-error lint:**",
"test-once:comments": "node --experimental-vm-modules node_modules/jest/bin/jest.js -t \"the JavaScript comments monoid\"",
"test-once:texMath": "node --experimental-vm-modules node_modules/jest/bin/jest.js -t \"the TeX math monoid\"",
"test-once": "node --experimental-vm-modules node_modules/jest/bin/jest.js --coverage", "test-once": "node --experimental-vm-modules node_modules/jest/bin/jest.js --coverage",
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js --watchAll --coverage" "test": "node --experimental-vm-modules node_modules/jest/bin/jest.js --watchAll --coverage"
}, },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment