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": [