Skip to content

Commit

Permalink
ts-jest update
Browse files Browse the repository at this point in the history
  • Loading branch information
danielferro69 committed Jun 18, 2024
1 parent 24bf8f2 commit 4cfea9f
Show file tree
Hide file tree
Showing 2 changed files with 68 additions and 89 deletions.
147 changes: 63 additions & 84 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
"scripts": {
"build": "rm -rf dist && tsc",
"test": "npm run test:analytics && npm run test:api && npm run test:consumer:CI",
"test:api": "npm run test:api:noTimeout -- --testTimeout 5000",
"test:api": "npm run test:api:noTimeout -- --testTimeout 15000",
"test:api:noTimeout": "DOTENV_CONFIG_PATH=./test/api/.env.test jest ./test/api --setupFiles dotenv/config --colors --testPathIgnorePatterns dist --runInBand",
"test:analytics": "jest ./test/analytics --colors --testPathIgnorePatterns dist --testTimeout 5000 --runInBand",
"test:analytics": "jest ./test/analytics --colors --testPathIgnorePatterns dist --testTimeout 15000 --runInBand",
"test:consumer": "npm run test:consumer:CI -- -- --watch",
"test:consumer:CI": "npm run seed:consumer && npm run test:consumer:unit",
"test:consumer:unit": "DOTENV_CONFIG_PATH=./test/consumer/.env.test jest ./test/consumer --setupFiles dotenv/config --colors --testPathIgnorePatterns dist --testTimeout 5000 --runInBand",
"test:consumer:unit": "DOTENV_CONFIG_PATH=./test/consumer/.env.test jest ./test/consumer --setupFiles dotenv/config --colors --testPathIgnorePatterns dist --testTimeout 15000 --runInBand",
"seed:consumer": "seed --drop-database --replace-id --set-timestamps --db-name pilas-bloques-consumer-test ./test/consumer/persistence",
"start:analytics": "node dist/analytics/index.js",
"start:api": "node dist/api/index.js",
Expand Down Expand Up @@ -40,7 +40,7 @@
"devDependencies": {
"@types/cors": "^2.8.7",
"@types/express": "^4.17.7",
"@types/jest": "^26.0.10",
"@types/jest": "^29.5.12",
"@types/jsonwebtoken": "^8.5.0",
"@types/mongodb": "^3.5.26",
"@types/node": "^14.6.1",
Expand All @@ -59,7 +59,7 @@
"release": "^6.3.1",
"sinon": "^10.0.0",
"supertest": "^4.0.2",
"ts-jest": "^26.3.0",
"ts-jest": "^29.1.5",
"ts-node": "^10.9.1",
"typescript": "^4.9.4"
},
Expand Down

0 comments on commit 4cfea9f

Please sign in to comment.