From 570853402e38678e0035a0f15c737c184d245f28 Mon Sep 17 00:00:00 2001 From: garrettmills Date: Sun, 8 Nov 2020 16:16:44 -0600 Subject: [PATCH] Add yarn run test command --- README.md | 3 +-- documentation/README.md | 3 +-- package.json | 3 ++- 3 files changed, 4 insertions(+), 5 deletions(-) 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" } }