Add yarn run test command

master
Garrett Mills 4 years ago
parent bf5d8b18b5
commit 570853402e
Signed by: garrettmills
GPG Key ID: D2BF5FBA8298F246

@ -74,8 +74,7 @@ All tests are written expressively using the Mocha testing library.
After installing the Node dependencies, you can run the frontend and backend tests like so: After installing the Node dependencies, you can run the frontend and backend tests like so:
```shell script ```shell script
yarn run test_frontend yarn run test
yarn run test_backend
``` ```
## Works Cited ## Works Cited

@ -74,8 +74,7 @@ All tests are written expressively using the Mocha testing library.
After installing the Node dependencies, you can run the frontend and backend tests like so: After installing the Node dependencies, you can run the frontend and backend tests like so:
```shell script ```shell script
yarn run test_frontend yarn run test
yarn run test_backend
``` ```
## Works Cited ## Works Cited

@ -33,6 +33,7 @@
}, },
"scripts": { "scripts": {
"test_frontend": "./node_modules/.bin/mocha -r esm --reporter spec test/frontend", "test_frontend": "./node_modules/.bin/mocha -r esm --reporter spec test/frontend",
"test_backend": "./node_modules/.bin/mocha --reporter spec test/backend" "test_backend": "./node_modules/.bin/mocha --reporter spec test/backend",
"test": "./node_modules/.bin/mocha -r esm --reporter spec test/frontend && ./node_modules/.bin/mocha --reporter spec test/backend"
} }
} }

Loading…
Cancel
Save