mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-07 15:08:24 +00:00
Avoid nx jest executor for running unit tests (#33220)
* Avoid nx jest executor for running unit tests The jest executor mangles the "summary of failing tests" from jest. * Remove unneded dep on nx/jest
This commit is contained in:
committed by
GitHub
parent
12a3abc0d5
commit
1f6d1dbc0d
@@ -47,11 +47,9 @@
|
|||||||
"dependsOn": ["^build", "^build:playwright"]
|
"dependsOn": ["^build", "^build:playwright"]
|
||||||
},
|
},
|
||||||
"test:unit": {
|
"test:unit": {
|
||||||
"executor": "@nx/jest:jest",
|
// We avoid the jest executor because it doesn't seem to give any benefit, and it mangles the summary of failing tests.
|
||||||
"options": {
|
"command": "jest",
|
||||||
"jestConfig": "{projectRoot}/jest.config.ts",
|
"options": { "cwd": "apps/web" },
|
||||||
"cwd": "apps/web"
|
|
||||||
},
|
|
||||||
"dependsOn": ["^build"]
|
"dependsOn": ["^build"]
|
||||||
},
|
},
|
||||||
"test:playwright": {
|
"test:playwright": {
|
||||||
|
|||||||
@@ -28,7 +28,6 @@
|
|||||||
"@action-validator/cli": "^0.6.0",
|
"@action-validator/cli": "^0.6.0",
|
||||||
"@action-validator/core": "^0.6.0",
|
"@action-validator/core": "^0.6.0",
|
||||||
"@nx-tools/nx-container": "^7.2.1",
|
"@nx-tools/nx-container": "^7.2.1",
|
||||||
"@nx/jest": "^22.5.0",
|
|
||||||
"@playwright/test": "catalog:",
|
"@playwright/test": "catalog:",
|
||||||
"@types/node": "22",
|
"@types/node": "22",
|
||||||
"cronstrue": "^3.0.0",
|
"cronstrue": "^3.0.0",
|
||||||
|
|||||||
Generated
-56
@@ -121,9 +121,6 @@ importers:
|
|||||||
'@nx-tools/nx-container':
|
'@nx-tools/nx-container':
|
||||||
specifier: ^7.2.1
|
specifier: ^7.2.1
|
||||||
version: 7.2.1(@nx/devkit@22.6.5(nx@22.6.5))(@nx/js@22.6.5(@babel/traverse@7.29.0)(nx@22.6.5))(dotenv@17.4.0)(nx@22.6.5)(tslib@2.8.1)
|
version: 7.2.1(@nx/devkit@22.6.5(nx@22.6.5))(@nx/js@22.6.5(@babel/traverse@7.29.0)(nx@22.6.5))(dotenv@17.4.0)(nx@22.6.5)(tslib@2.8.1)
|
||||||
'@nx/jest':
|
|
||||||
specifier: ^22.5.0
|
|
||||||
version: 22.6.5(@babel/traverse@7.29.0)(@types/node@18.19.130)(babel-plugin-macros@3.1.0)(nx@22.6.5)(typescript@5.9.3)
|
|
||||||
'@playwright/test':
|
'@playwright/test':
|
||||||
specifier: 'catalog:'
|
specifier: 'catalog:'
|
||||||
version: 1.59.1
|
version: 1.59.1
|
||||||
@@ -3272,9 +3269,6 @@ packages:
|
|||||||
peerDependencies:
|
peerDependencies:
|
||||||
nx: '>= 21 <= 23 || ^22.0.0-0'
|
nx: '>= 21 <= 23 || ^22.0.0-0'
|
||||||
|
|
||||||
'@nx/jest@22.6.5':
|
|
||||||
resolution: {integrity: sha512-Px+ROXwl3s8tjS3OEVMtNY5krQ2zAWyK7s922zmtbXjNKGZ8bg6krnkq7n5XpQwyXTZNVxku8TXcN7jXZECGFQ==}
|
|
||||||
|
|
||||||
'@nx/js@22.6.5':
|
'@nx/js@22.6.5':
|
||||||
resolution: {integrity: sha512-bmikz6qaBHfuAgsqPB/TfLIKfvI4g+EKIRAiU2FHnEtVWOKDAmSQXHFwE3rMS49jl2JLgxkdNjZHpg4g/OLy0g==}
|
resolution: {integrity: sha512-bmikz6qaBHfuAgsqPB/TfLIKfvI4g+EKIRAiU2FHnEtVWOKDAmSQXHFwE3rMS49jl2JLgxkdNjZHpg4g/OLy0g==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
@@ -3930,11 +3924,6 @@ packages:
|
|||||||
resolution: {integrity: sha512-C2Xj8FZ0uHWeCXXqX5B4/gVFQmtSkiuOolzAgutjTfseNOHT3pUjljDZsTSxXFGgio54bCzVFqmEOUrIVk8RDA==}
|
resolution: {integrity: sha512-C2Xj8FZ0uHWeCXXqX5B4/gVFQmtSkiuOolzAgutjTfseNOHT3pUjljDZsTSxXFGgio54bCzVFqmEOUrIVk8RDA==}
|
||||||
engines: {node: '>=20.0.0'}
|
engines: {node: '>=20.0.0'}
|
||||||
|
|
||||||
'@phenomnomnominal/tsquery@6.1.4':
|
|
||||||
resolution: {integrity: sha512-3tHlGy/fxjJCHqIV8nelAzbRTNkCUY+k7lqBGKNuQz99H2OKGRt6oU+U2SZs6LYrbOe8mxMFl6kq6gzHapFRkw==}
|
|
||||||
peerDependencies:
|
|
||||||
typescript: ^3 || ^4 || ^5
|
|
||||||
|
|
||||||
'@pkgjs/parseargs@0.11.0':
|
'@pkgjs/parseargs@0.11.0':
|
||||||
resolution: {integrity: sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==}
|
resolution: {integrity: sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==}
|
||||||
engines: {node: '>=14'}
|
engines: {node: '>=14'}
|
||||||
@@ -5294,9 +5283,6 @@ packages:
|
|||||||
'@types/eslint@9.6.1':
|
'@types/eslint@9.6.1':
|
||||||
resolution: {integrity: sha512-FXx2pKgId/WyYo2jXw63kk7/+TY7u7AziEJxJAnSFzHlqTAS3Ync6SvgYAN/k4/PQpnnVuzoMuVnByKK2qp0ag==}
|
resolution: {integrity: sha512-FXx2pKgId/WyYo2jXw63kk7/+TY7u7AziEJxJAnSFzHlqTAS3Ync6SvgYAN/k4/PQpnnVuzoMuVnByKK2qp0ag==}
|
||||||
|
|
||||||
'@types/esquery@1.5.4':
|
|
||||||
resolution: {integrity: sha512-yYO4Q8H+KJHKW1rEeSzHxcZi90durqYgWVfnh5K6ZADVBjBv2e1NEveYX5yT2bffgN7RqzH3k9930m+i2yBoMA==}
|
|
||||||
|
|
||||||
'@types/estree@1.0.8':
|
'@types/estree@1.0.8':
|
||||||
resolution: {integrity: sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==}
|
resolution: {integrity: sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==}
|
||||||
|
|
||||||
@@ -15898,38 +15884,6 @@ snapshots:
|
|||||||
tslib: 2.8.1
|
tslib: 2.8.1
|
||||||
yargs-parser: 21.1.1
|
yargs-parser: 21.1.1
|
||||||
|
|
||||||
'@nx/jest@22.6.5(@babel/traverse@7.29.0)(@types/node@18.19.130)(babel-plugin-macros@3.1.0)(nx@22.6.5)(typescript@5.9.3)':
|
|
||||||
dependencies:
|
|
||||||
'@jest/reporters': 30.3.0
|
|
||||||
'@jest/test-result': 30.3.0
|
|
||||||
'@nx/devkit': 22.6.5(nx@22.6.5)
|
|
||||||
'@nx/js': 22.6.5(@babel/traverse@7.29.0)(nx@22.6.5)
|
|
||||||
'@phenomnomnominal/tsquery': 6.1.4(typescript@5.9.3)
|
|
||||||
identity-obj-proxy: 3.0.0
|
|
||||||
jest-config: 30.3.0(@types/node@18.19.130)(babel-plugin-macros@3.1.0)
|
|
||||||
jest-resolve: 30.3.0
|
|
||||||
jest-util: 30.3.0
|
|
||||||
minimatch: 10.2.4
|
|
||||||
picocolors: 1.1.1
|
|
||||||
resolve.exports: 2.0.3
|
|
||||||
semver: 7.7.4
|
|
||||||
tslib: 2.8.1
|
|
||||||
yargs-parser: 21.1.1
|
|
||||||
transitivePeerDependencies:
|
|
||||||
- '@babel/traverse'
|
|
||||||
- '@swc-node/register'
|
|
||||||
- '@swc/core'
|
|
||||||
- '@types/node'
|
|
||||||
- babel-plugin-macros
|
|
||||||
- debug
|
|
||||||
- esbuild-register
|
|
||||||
- node-notifier
|
|
||||||
- nx
|
|
||||||
- supports-color
|
|
||||||
- ts-node
|
|
||||||
- typescript
|
|
||||||
- verdaccio
|
|
||||||
|
|
||||||
'@nx/js@22.6.5(@babel/traverse@7.29.0)(nx@22.6.5)':
|
'@nx/js@22.6.5(@babel/traverse@7.29.0)(nx@22.6.5)':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@babel/core': 7.29.0
|
'@babel/core': 7.29.0
|
||||||
@@ -16631,12 +16585,6 @@ snapshots:
|
|||||||
tslib: 2.8.1
|
tslib: 2.8.1
|
||||||
tsyringe: 4.10.0
|
tsyringe: 4.10.0
|
||||||
|
|
||||||
'@phenomnomnominal/tsquery@6.1.4(typescript@5.9.3)':
|
|
||||||
dependencies:
|
|
||||||
'@types/esquery': 1.5.4
|
|
||||||
esquery: 1.7.0
|
|
||||||
typescript: 5.9.3
|
|
||||||
|
|
||||||
'@pkgjs/parseargs@0.11.0':
|
'@pkgjs/parseargs@0.11.0':
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
@@ -17986,10 +17934,6 @@ snapshots:
|
|||||||
'@types/estree': 1.0.8
|
'@types/estree': 1.0.8
|
||||||
'@types/json-schema': 7.0.15
|
'@types/json-schema': 7.0.15
|
||||||
|
|
||||||
'@types/esquery@1.5.4':
|
|
||||||
dependencies:
|
|
||||||
'@types/estree': 1.0.8
|
|
||||||
|
|
||||||
'@types/estree@1.0.8': {}
|
'@types/estree@1.0.8': {}
|
||||||
|
|
||||||
'@types/events@3.0.3': {}
|
'@types/events@3.0.3': {}
|
||||||
|
|||||||
Reference in New Issue
Block a user