diff --git a/packages/cubejs-athena-driver/package.json b/packages/cubejs-athena-driver/package.json index dd632f2bc4b21..620c338175f14 100644 --- a/packages/cubejs-athena-driver/package.json +++ b/packages/cubejs-athena-driver/package.json @@ -47,5 +47,8 @@ "eslintConfig": { "extends": "../cubejs-linter" }, + "jest": { + "testEnvironment": "node" + }, "license": "Apache-2.0" } diff --git a/packages/cubejs-base-driver/package.json b/packages/cubejs-base-driver/package.json index 265329c69b0db..917eecb754408 100644 --- a/packages/cubejs-base-driver/package.json +++ b/packages/cubejs-base-driver/package.json @@ -53,7 +53,8 @@ ], "coveragePathIgnorePatterns": [ ".*\\.d\\.ts" - ] + ], + "testEnvironment": "node" }, "resolutions": { "es5-ext": "0.10.53", diff --git a/packages/cubejs-bigquery-driver/package.json b/packages/cubejs-bigquery-driver/package.json index a9bf826703da7..a411d4e031e7c 100644 --- a/packages/cubejs-bigquery-driver/package.json +++ b/packages/cubejs-bigquery-driver/package.json @@ -45,6 +45,9 @@ "publishConfig": { "access": "public" }, + "jest": { + "testEnvironment": "node" + }, "eslintConfig": { "extends": "../cubejs-linter" } diff --git a/packages/cubejs-cli/package.json b/packages/cubejs-cli/package.json index e117c4b385912..5a22ddb3dee9a 100644 --- a/packages/cubejs-cli/package.json +++ b/packages/cubejs-cli/package.json @@ -65,6 +65,9 @@ "jest": "^26.6.3", "typescript": "~4.9.5" }, + "jest": { + "testEnvironment": "node" + }, "license": "Apache-2.0", "eslintConfig": { "extends": "../cubejs-linter" diff --git a/packages/cubejs-client-dx/package.json b/packages/cubejs-client-dx/package.json index 9156b0ae81c21..00970cdd6be7b 100644 --- a/packages/cubejs-client-dx/package.json +++ b/packages/cubejs-client-dx/package.json @@ -36,6 +36,9 @@ "eslint-plugin-node": "^5.2.1", "jest": "^26.0.1" }, + "jest": { + "testEnvironment": "node" + }, "publishConfig": { "access": "public" } diff --git a/packages/cubejs-crate-driver/package.json b/packages/cubejs-crate-driver/package.json index 75c53d8f51a3f..c7ac7bedabb7b 100644 --- a/packages/cubejs-crate-driver/package.json +++ b/packages/cubejs-crate-driver/package.json @@ -42,6 +42,9 @@ "publishConfig": { "access": "public" }, + "jest": { + "testEnvironment": "node" + }, "eslintConfig": { "extends": "../cubejs-linter" } diff --git a/packages/cubejs-dremio-driver/package.json b/packages/cubejs-dremio-driver/package.json index 870110731a5d5..b1bfa41e9954d 100644 --- a/packages/cubejs-dremio-driver/package.json +++ b/packages/cubejs-dremio-driver/package.json @@ -32,6 +32,9 @@ "publishConfig": { "access": "public" }, + "jest": { + "testEnvironment": "node" + }, "eslintConfig": { "extends": "../cubejs-linter" } diff --git a/packages/cubejs-duckdb-driver/package.json b/packages/cubejs-duckdb-driver/package.json index e4ea712c3bb98..f6ae613c3ab1c 100644 --- a/packages/cubejs-duckdb-driver/package.json +++ b/packages/cubejs-duckdb-driver/package.json @@ -46,6 +46,9 @@ "publishConfig": { "access": "public" }, + "jest": { + "testEnvironment": "node" + }, "eslintConfig": { "extends": "../cubejs-linter" } diff --git a/packages/cubejs-firebolt-driver/package.json b/packages/cubejs-firebolt-driver/package.json index 90aaf68678639..1e32be8dbcead 100644 --- a/packages/cubejs-firebolt-driver/package.json +++ b/packages/cubejs-firebolt-driver/package.json @@ -42,6 +42,9 @@ "publishConfig": { "access": "public" }, + "jest": { + "testEnvironment": "node" + }, "eslintConfig": { "extends": "../cubejs-linter" } diff --git a/packages/cubejs-hive-driver/package.json b/packages/cubejs-hive-driver/package.json index 31f78247d0d30..87f298b68191a 100644 --- a/packages/cubejs-hive-driver/package.json +++ b/packages/cubejs-hive-driver/package.json @@ -33,6 +33,9 @@ "publishConfig": { "access": "public" }, + "jest": { + "testEnvironment": "node" + }, "eslintConfig": { "extends": "../cubejs-linter" } diff --git a/packages/cubejs-ksql-driver/package.json b/packages/cubejs-ksql-driver/package.json index fd09076b9f84c..e48f21e674d06 100644 --- a/packages/cubejs-ksql-driver/package.json +++ b/packages/cubejs-ksql-driver/package.json @@ -40,6 +40,9 @@ "eslintConfig": { "extends": "../cubejs-linter" }, + "jest": { + "testEnvironment": "node" + }, "devDependencies": { "@cubejs-backend/linter": "^0.34.0", "typescript": "~4.9.5" diff --git a/packages/cubejs-materialize-driver/package.json b/packages/cubejs-materialize-driver/package.json index 7f146a447b863..f92a23f3e7056 100644 --- a/packages/cubejs-materialize-driver/package.json +++ b/packages/cubejs-materialize-driver/package.json @@ -44,6 +44,9 @@ "publishConfig": { "access": "public" }, + "jest": { + "testEnvironment": "node" + }, "eslintConfig": { "extends": "../cubejs-linter" } diff --git a/packages/cubejs-mongobi-driver/package.json b/packages/cubejs-mongobi-driver/package.json index be2534fd51c40..8641d162de407 100644 --- a/packages/cubejs-mongobi-driver/package.json +++ b/packages/cubejs-mongobi-driver/package.json @@ -44,6 +44,9 @@ "testcontainers": "^9.8.0", "typescript": "~4.9.5" }, + "jest": { + "testEnvironment": "node" + }, "eslintConfig": { "extends": "../cubejs-linter" } diff --git a/packages/cubejs-mssql-driver/package.json b/packages/cubejs-mssql-driver/package.json index 68259b5ad3a6c..234ef52872d85 100644 --- a/packages/cubejs-mssql-driver/package.json +++ b/packages/cubejs-mssql-driver/package.json @@ -16,6 +16,9 @@ "@cubejs-backend/base-driver": "^0.34.12", "mssql": "^6.1.0" }, + "jest": { + "testEnvironment": "node" + }, "license": "Apache-2.0", "publishConfig": { "access": "public" diff --git a/packages/cubejs-mysql-aurora-serverless-driver/package.json b/packages/cubejs-mysql-aurora-serverless-driver/package.json index 9e03d8d7493c7..444e0cf6583c8 100644 --- a/packages/cubejs-mysql-aurora-serverless-driver/package.json +++ b/packages/cubejs-mysql-aurora-serverless-driver/package.json @@ -41,6 +41,7 @@ "extends": "../cubejs-linter" }, "jest": { + "testEnvironment": "node", "testMatch": [ "**/__tests__/**/*.js?(x)", "**/?(*.)+(spec|test|integration).js?(x)" diff --git a/packages/cubejs-oracle-driver/package.json b/packages/cubejs-oracle-driver/package.json index e803dc5ff3306..782697ef7e74d 100644 --- a/packages/cubejs-oracle-driver/package.json +++ b/packages/cubejs-oracle-driver/package.json @@ -19,6 +19,9 @@ "optionalDependencies": { "oracledb": "^6.2.0" }, + "jest": { + "testEnvironment": "node" + }, "license": "Apache-2.0", "publishConfig": { "access": "public" diff --git a/packages/cubejs-postgres-driver/package.json b/packages/cubejs-postgres-driver/package.json index b9eff67d648c9..38efba171109e 100644 --- a/packages/cubejs-postgres-driver/package.json +++ b/packages/cubejs-postgres-driver/package.json @@ -45,6 +45,9 @@ "publishConfig": { "access": "public" }, + "jest": { + "testEnvironment": "node" + }, "eslintConfig": { "extends": "../cubejs-linter" } diff --git a/packages/cubejs-prestodb-driver/package.json b/packages/cubejs-prestodb-driver/package.json index 876d05078a4c1..3399d482243ba 100644 --- a/packages/cubejs-prestodb-driver/package.json +++ b/packages/cubejs-prestodb-driver/package.json @@ -44,6 +44,9 @@ "testcontainers": "^8.12", "typescript": "~4.9.5" }, + "jest": { + "testEnvironment": "node" + }, "eslintConfig": { "extends": "../cubejs-linter" } diff --git a/packages/cubejs-query-orchestrator/package.json b/packages/cubejs-query-orchestrator/package.json index 63750fdc67690..f87552086fe13 100644 --- a/packages/cubejs-query-orchestrator/package.json +++ b/packages/cubejs-query-orchestrator/package.json @@ -60,6 +60,7 @@ "extends": "../cubejs-linter" }, "jest": { + "testEnvironment": "node", "collectCoverage": false, "coverageDirectory": "coverage/", "collectCoverageFrom": [ diff --git a/packages/cubejs-questdb-driver/package.json b/packages/cubejs-questdb-driver/package.json index 4a6b4ecbf77e8..bb9aa66303d6d 100644 --- a/packages/cubejs-questdb-driver/package.json +++ b/packages/cubejs-questdb-driver/package.json @@ -45,6 +45,9 @@ "publishConfig": { "access": "public" }, + "jest": { + "testEnvironment": "node" + }, "eslintConfig": { "extends": "../cubejs-linter" } diff --git a/packages/cubejs-redshift-driver/package.json b/packages/cubejs-redshift-driver/package.json index 5421f2c374d72..a941840a5e872 100644 --- a/packages/cubejs-redshift-driver/package.json +++ b/packages/cubejs-redshift-driver/package.json @@ -39,6 +39,9 @@ "publishConfig": { "access": "public" }, + "jest": { + "testEnvironment": "node" + }, "eslintConfig": { "extends": "../cubejs-linter" }