chore(deps): upgrade jest and ts-jest

This commit is contained in:
Karol Sójko 2022-10-06 12:43:30 +02:00
parent 1236a594b5
commit 55702bfcfa
No known key found for this signature in database
GPG key ID: A50543BF560BDEB0
117 changed files with 1163 additions and 1162 deletions

1109
.pnp.cjs generated

File diff suppressed because it is too large Load diff

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -2,11 +2,6 @@ module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
testRegex: '(/__tests__/.*|(\\.|/)(test|spec))\\.ts$',
globals: {
'ts-jest': {
tsconfig: './linter.tsconfig.json',
},
},
testTimeout: 20000,
coverageThreshold: {
global: {

View file

@ -55,7 +55,7 @@
"@lerna-lite/cli": "^1.5.1",
"@lerna-lite/list": "^1.5.1",
"@lerna-lite/run": "^1.5.1",
"@types/jest": "^28.1.4",
"@types/jest": "^29.1.1",
"@types/newrelic": "^7.0.3",
"@types/node": "^18.0.0",
"@typescript-eslint/parser": "^5.29.0",

View file

@ -1,11 +1,10 @@
// eslint-disable-next-line @typescript-eslint/no-var-requires
const base = require('../../jest.config');
const base = require('../../jest.config')
const { defaults: tsjPreset } = require('ts-jest/presets')
module.exports = {
...base,
globals: {
'ts-jest': {
tsconfig: 'tsconfig.json',
},
transform: {
...tsjPreset.transform,
},
};
}

View file

@ -27,12 +27,12 @@
},
"devDependencies": {
"@types/ioredis": "^4.28.10",
"@types/jest": "^28.1.4",
"@types/jest": "^29.1.1",
"@typescript-eslint/eslint-plugin": "^5.30.0",
"eslint-plugin-prettier": "^4.2.1",
"ioredis": "^5.2.0",
"jest": "^28.1.2",
"ts-jest": "^28.0.5"
"jest": "^29.1.2",
"ts-jest": "^29.0.3"
},
"dependencies": {
"reflect-metadata": "^0.1.13"

View file

@ -1,18 +1,12 @@
// eslint-disable-next-line @typescript-eslint/no-var-requires
const base = require('../../jest.config');
const base = require('../../jest.config')
const { defaults: tsjPreset } = require('ts-jest/presets')
module.exports = {
...base,
globals: {
'ts-jest': {
tsconfig: 'tsconfig.json',
},
transform: {
...tsjPreset.transform,
},
coveragePathIgnorePatterns: [
'/Bootstrap/',
'HealthCheckController'
],
setupFilesAfterEnv: [
'./test-setup.ts'
]
};
coveragePathIgnorePatterns: ['/Bootstrap/', 'HealthCheckController'],
setupFilesAfterEnv: ['./test-setup.ts'],
}

View file

@ -49,16 +49,16 @@
"@types/cors": "^2.8.9",
"@types/express": "^4.17.11",
"@types/ioredis": "^4.28.10",
"@types/jest": "^28.1.4",
"@types/jest": "^29.1.1",
"@types/jsonwebtoken": "^8.5.0",
"@types/newrelic": "^7.0.3",
"@types/prettyjson": "^0.0.30",
"@typescript-eslint/eslint-plugin": "^5.29.0",
"eslint": "^8.14.0",
"eslint-plugin-prettier": "^4.0.0",
"jest": "^28.1.2",
"jest": "^29.1.2",
"nodemon": "^2.0.19",
"npm-check-updates": "^16.0.1",
"ts-jest": "^28.0.5"
"ts-jest": "^29.0.3"
}
}

View file

@ -1,19 +1,12 @@
// eslint-disable-next-line @typescript-eslint/no-var-requires
const base = require('../../jest.config');
const base = require('../../jest.config')
const { defaults: tsjPreset } = require('ts-jest/presets')
module.exports = {
...base,
globals: {
'ts-jest': {
tsconfig: 'tsconfig.json',
},
transform: {
...tsjPreset.transform,
},
coveragePathIgnorePatterns: [
'/Bootstrap/',
'/InversifyExpressUtils/',
'HealthCheckController'
],
setupFilesAfterEnv: [
'./test-setup.ts'
]
};
coveragePathIgnorePatterns: ['/Bootstrap/', '/InversifyExpressUtils/', 'HealthCheckController'],
setupFilesAfterEnv: ['./test-setup.ts'],
}

View file

@ -71,7 +71,7 @@
"@types/cors": "^2.8.9",
"@types/express": "^4.17.11",
"@types/ioredis": "^4.28.10",
"@types/jest": "^28.1.4",
"@types/jest": "^29.1.1",
"@types/newrelic": "^7.0.3",
"@types/otplib": "^10.0.0",
"@types/prettyjson": "^0.0.30",
@ -80,9 +80,9 @@
"@typescript-eslint/eslint-plugin": "^5.29.0",
"eslint": "^8.14.0",
"eslint-plugin-prettier": "^4.0.0",
"jest": "^28.1.2",
"jest": "^29.1.2",
"nodemon": "^2.0.19",
"npm-check-updates": "^16.0.1",
"ts-jest": "^28.0.5"
"ts-jest": "^29.0.3"
}
}

View file

@ -1,19 +1,18 @@
// eslint-disable-next-line @typescript-eslint/no-var-requires
const base = require('../../jest.config');
const base = require('../../jest.config')
const { defaults: tsjPreset } = require('ts-jest/presets')
module.exports = {
...base,
globals: {
'ts-jest': {
tsconfig: 'tsconfig.json',
},
transform: {
...tsjPreset.transform,
},
coverageThreshold: {
global: {
branches: 14,
functions: 13,
lines: 14,
statements: 14
}
}
};
statements: 14,
},
},
}

View file

@ -26,12 +26,12 @@
"test": "jest spec --coverage"
},
"devDependencies": {
"@types/jest": "^28.1.4",
"@types/jest": "^29.1.1",
"@types/node": "^18.0.0",
"@typescript-eslint/eslint-plugin": "^5.30.0",
"eslint-plugin-prettier": "^4.2.1",
"jest": "^28.1.2",
"ts-jest": "^28.0.5"
"jest": "^29.1.2",
"ts-jest": "^29.0.3"
},
"dependencies": {
"reflect-metadata": "^0.1.13"

View file

@ -1,11 +1,10 @@
// eslint-disable-next-line @typescript-eslint/no-var-requires
const base = require('../../jest.config');
const base = require('../../jest.config')
const { defaults: tsjPreset } = require('ts-jest/presets')
module.exports = {
...base,
globals: {
'ts-jest': {
tsconfig: 'tsconfig.json',
},
}
};
transform: {
...tsjPreset.transform,
},
}

View file

@ -34,11 +34,11 @@
},
"devDependencies": {
"@types/ioredis": "^4.28.10",
"@types/jest": "^28.1.4",
"@types/jest": "^29.1.1",
"@types/newrelic": "^7.0.3",
"@typescript-eslint/eslint-plugin": "^5.30.0",
"eslint-plugin-prettier": "^4.2.1",
"jest": "^28.1.2",
"ts-jest": "^28.0.5"
"jest": "^29.1.2",
"ts-jest": "^29.0.3"
}
}

View file

@ -1,11 +1,10 @@
// eslint-disable-next-line @typescript-eslint/no-var-requires
const base = require('../../jest.config');
const base = require('../../jest.config')
const { defaults: tsjPreset } = require('ts-jest/presets')
module.exports = {
...base,
globals: {
'ts-jest': {
tsconfig: 'tsconfig.json',
},
}
};
transform: {
...tsjPreset.transform,
},
}

View file

@ -31,10 +31,10 @@
"reflect-metadata": "^0.1.13"
},
"devDependencies": {
"@types/jest": "^28.1.4",
"@types/jest": "^29.1.1",
"@typescript-eslint/eslint-plugin": "^5.30.0",
"eslint-plugin-prettier": "^4.2.1",
"jest": "^28.1.2",
"ts-jest": "^28.0.5"
"jest": "^29.1.2",
"ts-jest": "^29.0.3"
}
}

View file

@ -1,17 +1,12 @@
// eslint-disable-next-line @typescript-eslint/no-var-requires
const base = require('../../jest.config');
const base = require('../../jest.config')
const { defaults: tsjPreset } = require('ts-jest/presets')
module.exports = {
...base,
globals: {
'ts-jest': {
tsconfig: 'tsconfig.json',
},
transform: {
...tsjPreset.transform,
},
coveragePathIgnorePatterns: [
'/Bootstrap/'
],
setupFilesAfterEnv: [
'./test-setup.ts'
]
};
coveragePathIgnorePatterns: ['/Bootstrap/'],
setupFilesAfterEnv: ['./test-setup.ts'],
}

View file

@ -21,14 +21,14 @@
"license": "AGPL-3.0-or-later",
"devDependencies": {
"@types/ioredis": "^4.28.10",
"@types/jest": "^28.1.4",
"@types/jest": "^29.1.1",
"@types/newrelic": "^7.0.3",
"@types/nodemailer": "^6.4.1",
"@typescript-eslint/eslint-plugin": "^5.30.5",
"eslint": "^8.14.0",
"eslint-plugin-prettier": "^4.2.1",
"jest": "^28.1.2",
"ts-jest": "^28.0.5"
"jest": "^29.1.2",
"ts-jest": "^29.0.3"
},
"dependencies": {
"@standardnotes/domain-events": "workspace:*",

View file

@ -1,19 +1,12 @@
// eslint-disable-next-line @typescript-eslint/no-var-requires
const base = require('../../jest.config');
const base = require('../../jest.config')
const { defaults: tsjPreset } = require('ts-jest/presets')
module.exports = {
...base,
globals: {
'ts-jest': {
tsconfig: 'tsconfig.json',
},
transform: {
...tsjPreset.transform,
},
coveragePathIgnorePatterns: [
'/Bootstrap/',
'HealthCheckController',
"/Infra/FS"
],
setupFilesAfterEnv: [
'./test-setup.ts'
]
};
coveragePathIgnorePatterns: ['/Bootstrap/', 'HealthCheckController', '/Infra/FS'],
setupFilesAfterEnv: ['./test-setup.ts'],
}

Some files were not shown because too many files have changed in this diff Show more