Merge pull request #1826 from hedgedoc/enhancement/concurrent_e2e_tests

This commit is contained in:
David Mehren 2021-11-16 18:45:46 +01:00 committed by GitHub
commit 1601f4b3a8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View file

@ -19,8 +19,8 @@
"test:watch": "jest --watch",
"test:cov": "jest --coverage",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"test:e2e": "jest --config jest-e2e.json --runInBand",
"test:e2e:cov": "jest --config jest-e2e.json --coverage --runInBand",
"test:e2e": "jest --config jest-e2e.json",
"test:e2e:cov": "jest --config jest-e2e.json --coverage",
"seed": "ts-node src/seed.ts"
},
"dependencies": {

View file

@ -9,7 +9,8 @@ export default registerAs('mediaConfig', () => ({
backend: {
use: 'filesystem',
filesystem: {
uploadPath: 'test_uploads',
uploadPath:
'test_uploads' + Math.floor(Math.random() * 100000).toString(),
},
},
}));