Skip to content

Commit

Permalink
chore: fix snyk vulnerabilities (#6728)
Browse files Browse the repository at this point in the history
* chore: updated connect-mongo from 4.4.1 to 4.6.0

* chore: updated dd-trace from 3.9.3 to 3.36.0

* chore: update stoplight from 4.10.6 to 5.3.2

* chore: updated package.json

* chore: updated bson-ext from 2.0.6 to 4.0.3

* chore: revert update to bson

* chore: update bcrypt from 5.1.0 to 5.1.1

* chore: update twilio 4.11.0 to 4.18.0

* chore: update package-lock.json for twilio upgrade

* chore: update jsonwebtoken from 9.0.0 to 9.0.2

* chore: update jsonwebtoken from 9.0.0 to 9.0.2

* chore: merge and moved jest options from cli to config

* chore: update maxworkers to 4

* chore: update timeout to 300s
  • Loading branch information
sebastianwzq authored Sep 30, 2023
1 parent 283bc47 commit 395aaa6
Show file tree
Hide file tree
Showing 3 changed files with 520 additions and 443 deletions.
4 changes: 3 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ module.exports = {
'<rootDir>/node_modules/',
'<rootDir>/frontend',
],
collectCoverage: true,
collectCoverageFrom: [
'./src/**/*.{ts,js}',
'./serverless/**/*.{ts,js}',
Expand All @@ -26,7 +27,8 @@ module.exports = {
statements: 38, // Increase this percentage as test coverage improves
},
},
testTimeout: 15000, // Set timeout to be 15s to reduce test flakiness
testTimeout: 300000, // Set timeout to be 300s to reduce test flakiness
maxWorkers: '4',
globals: {
// Revert when memory leak in ts-jest is fixed.
// See https://github.com/kulshekhar/ts-jest/issues/1967.
Expand Down
Loading

0 comments on commit 395aaa6

Please sign in to comment.