diff --git a/README.md b/README.md index 9a83ab8..837b585 100644 --- a/README.md +++ b/README.md @@ -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: ```shell script -yarn run test_frontend -yarn run test_backend +yarn run test ``` ## Works Cited diff --git a/documentation/README.md b/documentation/README.md index 9a83ab8..837b585 100644 --- a/documentation/README.md +++ b/documentation/README.md @@ -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: ```shell script -yarn run test_frontend -yarn run test_backend +yarn run test ``` ## Works Cited diff --git a/package.json b/package.json index fb08ad3..c50088e 100644 --- a/package.json +++ b/package.json @@ -33,6 +33,7 @@ }, "scripts": { "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" } }