feat(server): Use Testcontainers for e2e tests (#3202)

* Add testcontainers to e2e

* Run e2e tests in github without docker

* Run lint on e2e

* Cleaner setup ordering

* Rename setup file
This commit is contained in:
Jonathan Jogenfors
2023-07-11 23:54:44 +02:00
committed by GitHub
parent c86b2ae500
commit ea64fdd7b4
5 changed files with 588 additions and 3 deletions

View File

@@ -17,7 +17,7 @@
"nest": "nest",
"start:dev": "nest start --watch --",
"start:debug": "nest start --debug 0.0.0.0:9230 --watch --",
"lint": "eslint \"src/**/*.ts\" --max-warnings 0",
"lint": "eslint \"src/**/*.ts\" \"e2e/**/*.ts\" --max-warnings 0",
"lint:fix": "npm run lint -- --fix",
"check": "tsc --noEmit",
"check:code": "npm run format && npm run lint && npm run check",
@@ -116,6 +116,7 @@
"rimraf": "^3.0.2",
"source-map-support": "^0.5.20",
"supertest": "^6.1.3",
"testcontainers": "^9.9.1",
"ts-jest": "^27.0.3",
"ts-loader": "^9.2.3",
"ts-node": "^10.0.0",