From b8dcd60fbcf11a36cb281673e4777f24c1834295 Mon Sep 17 00:00:00 2001 From: Seth Date: Fri, 12 Mar 2021 16:41:43 +0100 Subject: [PATCH] fix: add `npm run test` (#17) User can now do `npm run test` to run tests. --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index d2ecdfc..015da23 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,8 @@ "description": "Metric / Imperial Unit Converter", "main": "server.js", "scripts": { - "start": "node server.js" + "start": "node server.js", + "test": "mocha ./tests/ --ui tdd" }, "dependencies": { "body-parser": "^1.19.0",