mirror of
https://github.com/stonith404/pingvin-share.git
synced 2024-11-04 23:10:13 +01:00
test: add system tests
This commit is contained in:
parent
b16d53964d
commit
7c0759cb07
4101
backend/package-lock.json
generated
4101
backend/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -6,7 +6,8 @@
|
||||
"dev": "dotenv -- nest start --watch",
|
||||
"prod": "npx prisma migrate deploy && dotenv node dist/main",
|
||||
"lint": "eslint 'src/**/*.ts'",
|
||||
"format": "prettier --write 'src/**/*.ts'"
|
||||
"format": "prettier --write 'src/**/*.ts'",
|
||||
"test:system": "npx prisma migrate reset -f && pm2 start 'nest start' && sleep 5 && newman run ./test/system/newman-system-tests.json ; pm2 delete 0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@nestjs/common": "^9.1.2",
|
||||
@ -50,6 +51,8 @@
|
||||
"eslint": "^8.0.1",
|
||||
"eslint-config-prettier": "^8.3.0",
|
||||
"eslint-plugin-prettier": "^4.0.0",
|
||||
"newman": "^5.3.2",
|
||||
"pm2": "^5.2.2",
|
||||
"prettier": "^2.7.1",
|
||||
"prisma": "^4.4.0",
|
||||
"source-map-support": "^0.5.21",
|
||||
|
1542
backend/test/system/newman-system-tests.json
Normal file
1542
backend/test/system/newman-system-tests.json
Normal file
File diff suppressed because it is too large
Load Diff
1
backend/test/system/test-file.txt
Normal file
1
backend/test/system/test-file.txt
Normal file
@ -0,0 +1 @@
|
||||
This is a test filed used for uploading in the system test.
|
Loading…
Reference in New Issue
Block a user