Add yarn run test command
This commit is contained in:
parent
bf5d8b18b5
commit
570853402e
@ -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…
Reference in New Issue
Block a user