Updated api doc tests to listen on the right endpoint

ref #4
This commit is contained in:
2021-03-03 16:21:11 +01:00
parent ec939e6c11
commit f6a53cc3e4
2 changed files with 12 additions and 11 deletions

View File

@@ -12,7 +12,7 @@
"test": "jest",
"test:generate_env": "ts-node ./scripts/create_testenv.ts",
"test:ci": "npm run test:generate_env && npm run test:ci:run",
"test:ci:run": "start-server-and-test dev http://localhost:4010/api/docs/openapi.json test"
"test:ci:run": "start-server-and-test dev http://localhost:4010/docs/openapi.json test"
},
"repository": {
"type": "git",
@@ -64,6 +64,7 @@
"@types/jest": "^26.0.20",
"@types/node": "^14.14.22",
"@types/nodemailer": "^6.4.0",
"axios": "^0.21.1",
"cp-cli": "^2.0.0",
"jest": "^26.6.3",
"nodemon": "^2.0.7",