Skip to content

Commit

Permalink
chore(deps): Upgrade jest to 27 (aligned across project) (#7497)
Browse files Browse the repository at this point in the history
  • Loading branch information
ovr authored Dec 7, 2023
1 parent ac2357d commit 7d6c153
Show file tree
Hide file tree
Showing 56 changed files with 295 additions and 1,406 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"@rollup/plugin-commonjs": "^17.1.0",
"@rollup/plugin-node-resolve": "^11.2.0",
"@types/fs-extra": "^9.0.1",
"@types/jest": "^26.0.3",
"@types/jest": "^27",
"flush-promises": "^1.0.2",
"husky": "^5.0.4",
"is-ci": "^2.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/cubejs-api-gateway/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"devDependencies": {
"@cubejs-backend/linter": "^0.34.25",
"@types/express": "^4.17.9",
"@types/jest": "^26.0.20",
"@types/jest": "^27",
"@types/jsonwebtoken": "^8.5.0",
"@types/jwk-to-pem": "^2.0.0",
"@types/mysql": "^2.15.19",
Expand All @@ -59,7 +59,7 @@
"@types/supertest": "^2.0.10",
"@types/uuid": "^8.3.1",
"express": "^4.17.1",
"jest": "^26.6.3",
"jest": "^27",
"mysql": "^2.18.1",
"should": "^13.2.3",
"supertest": "^4.0.2",
Expand Down
4 changes: 2 additions & 2 deletions packages/cubejs-backend-cloud/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
"devDependencies": {
"@cubejs-backend/linter": "^0.34.25",
"@types/fs-extra": "^9.0.8",
"@types/jest": "^26.0.20",
"@types/jest": "^27",
"@types/request-promise": "^4.1.46",
"jest": "^26.6.3",
"jest": "^27",
"typescript": "~5.2.2"
},
"dependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/cubejs-backend-maven/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@
},
"devDependencies": {
"@cubejs-backend/linter": "^0.34.25",
"@types/jest": "^26.0.20",
"@types/jest": "^27",
"@types/node": "^14",
"jest": "^26.6.3",
"jest": "^27",
"typescript": "~5.2.2"
},
"publishConfig": {
Expand Down
4 changes: 2 additions & 2 deletions packages/cubejs-backend-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@
],
"devDependencies": {
"@cubejs-backend/linter": "^0.34.25",
"@types/jest": "^26",
"@types/jest": "^27",
"@types/node": "^14",
"cargo-cp-artifact": "^0.1",
"jest": "^26",
"jest": "^27",
"mysql2": "^2.3.3",
"typescript": "~5.2.2"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/cubejs-backend-shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@
"@types/bytes": "^3.1.0",
"@types/cli-progress": "^3.9.1",
"@types/decompress": "^4.2.3",
"@types/jest": "^26.0.16",
"@types/jest": "^27",
"@types/node": "^12",
"@types/node-fetch": "^2.5.8",
"@types/shelljs": "^0.8.5",
"@types/throttle-debounce": "^2.1.0",
"jest": "^26.6.3",
"jest": "^27",
"typescript": "~5.2.2"
},
"dependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/cubejs-base-driver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@
},
"devDependencies": {
"@cubejs-backend/linter": "^0.34.25",
"@types/jest": "^26.0.15",
"@types/jest": "^27",
"@types/node": "^14",
"@types/ramda": "^0.27.32",
"jest": "^26.6.3",
"jest": "^27",
"typescript": "~5.2.2"
},
"license": "Apache-2.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/cubejs-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,13 @@
"@types/cross-spawn": "^6.0.2",
"@types/fs-extra": "^9.0.2",
"@types/inquirer": "^7.3.1",
"@types/jest": "^26.0.20",
"@types/jest": "^27",
"@types/jsonwebtoken": "^8.5.0",
"@types/node": "^14",
"@types/request-promise": "^4.1.46",
"@types/semver": "^7.3.4",
"husky": "^4.2.3",
"jest": "^26.6.3",
"jest": "^27",
"typescript": "~5.2.2"
},
"jest": {
Expand Down
4 changes: 2 additions & 2 deletions packages/cubejs-clickhouse-driver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
"license": "Apache-2.0",
"devDependencies": {
"@cubejs-backend/linter": "^0.34.25",
"@types/jest": "^26.0.23",
"jest": "26.6.3",
"@types/jest": "^27",
"jest": "27",
"stream-to-array": "^2.3.0",
"testcontainers": "^8.12",
"typescript": "~5.2.2"
Expand Down
6 changes: 3 additions & 3 deletions packages/cubejs-client-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@
"devDependencies": {
"@babel/core": "^7.3.3",
"@babel/preset-env": "^7.3.1",
"@types/jest": "^26.0.9",
"@types/jest": "^27",
"@types/moment-range": "^4.0.0",
"babel-jest": "^26.0.1",
"babel-jest": "^27",
"eslint": "^7.21.0",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-plugin-import": "^2.16.0",
"eslint-plugin-node": "^5.2.1",
"jest": "^26.0.1"
"jest": "^27"
}
}
6 changes: 3 additions & 3 deletions packages/cubejs-client-dx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@
"devDependencies": {
"@babel/core": "^7.3.3",
"@babel/preset-env": "^7.3.1",
"@types/jest": "^26.0.9",
"babel-jest": "^26.0.1",
"@types/jest": "^27",
"babel-jest": "^27",
"eslint": "^7.21.0",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-plugin-import": "^2.16.0",
"eslint-plugin-node": "^5.2.1",
"jest": "^26.0.1"
"jest": "^27"
},
"jest": {
"testEnvironment": "node"
Expand Down
2 changes: 1 addition & 1 deletion packages/cubejs-client-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"@vue/cli-plugin-unit-jest": "^5",
"@vue/cli-service": "^5",
"@vue/test-utils": "^1.3",
"@vue/vue2-jest": "^26",
"@vue/vue2-jest": "^27",
"eslint": "^7.21.0",
"eslint-plugin-vue": "^6.2.1",
"vue": "^2.7",
Expand Down
6 changes: 3 additions & 3 deletions packages/cubejs-client-vue3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@
"@vue/cli-plugin-unit-jest": "^5.0",
"@vue/cli-service": "^5.0",
"@vue/test-utils": "^2.4",
"@vue/vue2-jest": "^26",
"@vue/vue3-jest": "^26",
"@vue/vue2-jest": "^27",
"@vue/vue3-jest": "^27",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^23.6.0",
"babel-jest": "^27",
"eslint": "^7.21.0",
"eslint-plugin-vue": "^6.2.1",
"vue": "^3.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/cubejs-client-ws-transport/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
"@babel/preset-typescript": "^7.12.1",
"@cubejs-backend/linter": "^0.34.25",
"@types/ws": "^7.2.9",
"babel-jest": "^26.6.3",
"jest": "^26.6.3",
"babel-jest": "^27",
"jest": "^27",
"typescript": "~5.2.2"
},
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/cubejs-cubestore-driver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"@types/generic-pool": "^3.1.9",
"@types/node": "^14",
"@types/ws": "^7.4.0",
"jest": "^26.6.3",
"jest": "^27",
"typescript": "~5.2.2"
},
"license": "Apache-2.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/cubejs-databricks-jdbc-driver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@
"@cubejs-backend/linter": "^0.34.25",
"@types/generic-pool": "^3.1.9",
"@types/inquirer": "^7.3.1",
"@types/jest": "^26.0.20",
"@types/jest": "^27",
"@types/node": "^14",
"@types/ramda": "^0.27.34",
"@types/uuid": "^8.3.4",
"jest": "^26.6.3",
"jest": "^27",
"typescript": "~5.2.2"
},
"publishConfig": {
Expand Down
4 changes: 2 additions & 2 deletions packages/cubejs-dbt-schema-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
"@cubejs-backend/linter": "^0.34.25",
"@cubejs-backend/testing": "^0.34.31",
"@types/generic-pool": "^3.1.9",
"@types/jest": "^26.0.24",
"jest": "^26.6.3",
"@types/jest": "^27",
"jest": "^27",
"stream-to-array": "^2.3.0",
"typescript": "~5.2.2"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/cubejs-dremio-driver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
"devDependencies": {
"@cubejs-backend/linter": "^0.34.25",
"jest": "^26.6.3"
"jest": "^27"
},
"license": "Apache-2.0",
"publishConfig": {
Expand Down
4 changes: 2 additions & 2 deletions packages/cubejs-druid-driver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@
"devDependencies": {
"@cubejs-backend/linter": "^0.34.25",
"@types/generic-pool": "^3.1.9",
"@types/jest": "^26.0.20",
"@types/jest": "^27",
"@types/node": "^14",
"jest": "^26.6.3",
"jest": "^27",
"testcontainers": "^8.12",
"typescript": "~5.2.2"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/cubejs-duckdb-driver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@
"devDependencies": {
"@cubejs-backend/linter": "^0.34.25",
"@cubejs-backend/testing-shared": "^0.34.31",
"@types/jest": "^26",
"@types/jest": "^27",
"@types/node": "^14",
"jest": "^26.6.3",
"jest": "^27",
"typescript": "~5.2.2"
},
"publishConfig": {
Expand Down
4 changes: 2 additions & 2 deletions packages/cubejs-elasticsearch-driver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
"license": "Apache-2.0",
"devDependencies": {
"@cubejs-backend/linter": "^0.34.25",
"@types/jest": "^26.0.20",
"jest": "^26.6.3",
"@types/jest": "^27",
"jest": "^27",
"testcontainers": "^8.12"
},
"eslintConfig": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"devDependencies": {
"@cubejs-backend/linter": "^0.34.25",
"@types/data-api-client": "^1.2.1",
"jest": "^26.6.3",
"jest": "^27",
"testcontainers": "^8.12"
},
"license": "Apache-2.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/cubejs-mysql-driver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
"@cubejs-backend/linter": "^0.34.25",
"@cubejs-backend/testing-shared": "^0.34.31",
"@types/generic-pool": "^3.1.9",
"@types/jest": "^26.0.23",
"jest": "^26.6.3",
"@types/jest": "^27",
"jest": "^27",
"stream-to-array": "^2.3.0",
"testcontainers": "^8.12",
"typescript": "~5.2.2"
Expand Down
1 change: 0 additions & 1 deletion packages/cubejs-playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@
"@cubejs-client/core": "^0.34.27",
"@cubejs-client/react": "^0.34.27",
"@types/flexsearch": "^0.7.3",
"@types/jest": "^26.0.20",
"@types/node": "^14",
"@types/react": "^17.0.3",
"@types/react-beautiful-dnd": "^13.0.0",
Expand Down
3 changes: 2 additions & 1 deletion packages/cubejs-prestodb-driver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@
},
"devDependencies": {
"@cubejs-backend/linter": "^0.34.25",
"jest": "^26.6.3",
"@types/jest": "^27",
"jest": "^27",
"should": "^13.2.3",
"testcontainers": "^8.12",
"typescript": "~5.2.2"
Expand Down
4 changes: 2 additions & 2 deletions packages/cubejs-query-orchestrator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@
"@cubejs-backend/linter": "^0.34.25",
"@types/generic-pool": "^3.1.9",
"@types/ioredis": "^4.19.3",
"@types/jest": "^26.0.15",
"@types/jest": "^27",
"@types/node": "^14",
"@types/ramda": "^0.27.32",
"@types/redis": "^2.8.28",
"@types/uuid": "^8.3.0",
"jest": "^26.6.3",
"jest": "^27",
"typescript": "~5.2.2"
},
"license": "Apache-2.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/cubejs-schema-compiler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,15 @@
"@types/babel__parser": "^7.1.1",
"@types/babel__traverse": "^7.11.0",
"@types/inflection": "^1.5.28",
"@types/jest": "^26.0.20",
"@types/jest": "^27",
"@types/lru-cache": "^5.1.0",
"@types/node": "^14",
"@types/ramda": "^0.27.34",
"@types/sqlstring": "^2.3.0",
"@types/syntax-error": "^1.4.1",
"@types/uuid": "^8.3.0",
"antlr4ts-cli": "^0.5.0-alpha.4",
"jest": "^26.6.3",
"jest": "^27",
"mssql": "^6.1.0",
"mysql": "^2.18.1",
"pg-promise": "^10.5.2",
Expand Down
7 changes: 4 additions & 3 deletions packages/cubejs-server-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"lint": "eslint src/* test/* --ext .ts,.js",
"lint:fix": "eslint --fix src/* test/* --ext .ts,.js",
"test": "npm run unit",
"unit": "jest --runInBand --coverage dist/test"
"unit": "jest --runInBand --forceExit --coverage dist/test"
},
"dependencies": {
"@cubejs-backend/api-gateway": "^0.34.31",
Expand Down Expand Up @@ -63,21 +63,22 @@
"@types/cross-spawn": "^6.0.2",
"@types/express": "^4.17.9",
"@types/fs-extra": "^9.0.8",
"@types/jest": "^26.0.20",
"@types/jest": "^27",
"@types/jsonwebtoken": "^8.5.0",
"@types/lru-cache": "^5.1.0",
"@types/node": "^14",
"@types/node-fetch": "^2.5.7",
"@types/ramda": "^0.27.34",
"@types/uuid": "^8.3.0",
"jest": "^26.6.3",
"jest": "^27",
"typescript": "~5.2.2"
},
"license": "Apache-2.0",
"eslintConfig": {
"extends": "../cubejs-linter"
},
"jest": {
"testEnvironment": "node",
"setupFilesAfterEnv": [
"<rootDir>/dist/test/setup.js"
],
Expand Down
Loading

0 comments on commit 7d6c153

Please sign in to comment.