From 79e418f91883f90827453fdf5fe031cf777173da Mon Sep 17 00:00:00 2001 From: Nicolai Ort Date: Fri, 11 Dec 2020 19:56:27 +0100 Subject: [PATCH] Added a test:ci script (for testing in ci enviornments) ref #23 --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index b59be18..f0f8d45 100644 --- a/package.json +++ b/package.json @@ -59,6 +59,7 @@ "jest": "^26.6.3", "nodemon": "^2.0.6", "sqlite3": "^5.0.0", + "start-server-and-test": "^1.11.6", "ts-jest": "^26.4.4", "ts-node": "^9.0.0", "typedoc": "^0.19.2", @@ -69,7 +70,8 @@ "build": "tsc", "docs": "typedoc --out docs src", "test": "jest", - "test:watch": "jest --watchAll" + "test:watch": "jest --watchAll", + "test:ci": "start-server-and-test dev http://localhost:4010/api/openapi.json test" }, "nodemonConfig": { "ignore": [