From 65f9333501ee32b4cb466f002678ecf2953914a5 Mon Sep 17 00:00:00 2001 From: Adrien de Peretti Date: Thu, 12 Jun 2025 20:05:11 +0200 Subject: [PATCH] chore(): re enable integration tests bp (#12724) * chore(): re enable integration tests bp * chore(): re enable integration tests bp --- integration-tests/api/jest.config.js | 1 - integration-tests/api/package.json | 4 ++-- integration-tests/http/jest.config.js | 1 - integration-tests/http/package.json | 4 ++-- integration-tests/modules/package.json | 4 ++-- 5 files changed, 6 insertions(+), 8 deletions(-) diff --git a/integration-tests/api/jest.config.js b/integration-tests/api/jest.config.js index 031a5e9e72..38a68603c2 100644 --- a/integration-tests/api/jest.config.js +++ b/integration-tests/api/jest.config.js @@ -4,7 +4,6 @@ process.chdir(__dirname) const defineJestConfig = require("../../define_jest_config") module.exports = defineJestConfig({ testEnvironment: `node`, - rootDir: "./", testPathIgnorePatterns: [ `/examples/`, `/www/`, diff --git a/integration-tests/api/package.json b/integration-tests/api/package.json index 0eead78193..6928cb7518 100644 --- a/integration-tests/api/package.json +++ b/integration-tests/api/package.json @@ -5,8 +5,8 @@ "license": "MIT", "private": true, "scripts": { - "test:integration": "NODE_OPTIONS=--experimental-vm-modules jest --silent=false --no-cache --maxWorkers=50% --bail --detectOpenHandles --forceExit --logHeapUsage", - "test:integration:chunk": "NODE_OPTIONS=--experimental-vm-modules jest --silent --no-cache --bail --maxWorkers=50% --forceExit --detectOpenHandles --testPathPattern=$(echo $CHUNKS | jq -r \".[${CHUNK}] | .[]\")", + "test:integration": "jest --silent=false --no-cache --maxWorkers=50% --bail --detectOpenHandles --forceExit --logHeapUsage", + "test:integration:chunk": "jest --silent --no-cache --bail --maxWorkers=50% --forceExit --detectOpenHandles --testPathPattern=$(echo $CHUNKS | jq -r \".[${CHUNK}] | .[]\")", "build": "tsc ./src/* --allowJs --outDir ./dist" }, "dependencies": { diff --git a/integration-tests/http/jest.config.js b/integration-tests/http/jest.config.js index 447580610c..6ccbda0195 100644 --- a/integration-tests/http/jest.config.js +++ b/integration-tests/http/jest.config.js @@ -2,7 +2,6 @@ process.chdir(__dirname) const defineJestConfig = require("../../define_jest_config") module.exports = defineJestConfig({ testEnvironment: `node`, - rootDir: "./", testPathIgnorePatterns: [ `/examples/`, `/www/`, diff --git a/integration-tests/http/package.json b/integration-tests/http/package.json index b123b087fd..40f87fd9d6 100644 --- a/integration-tests/http/package.json +++ b/integration-tests/http/package.json @@ -5,8 +5,8 @@ "license": "MIT", "private": true, "scripts": { - "test:integration": "NODE_OPTIONS=--experimental-vm-modules jest --no-cache --maxWorkers=50% --bail --detectOpenHandles --forceExit --logHeapUsage", - "test:integration:chunk": "NODE_OPTIONS=--experimental-vm-modules jest --silent --no-cache --bail --maxWorkers=50% --forceExit", + "test:integration": "jest --no-cache --maxWorkers=50% --bail --detectOpenHandles --forceExit --logHeapUsage", + "test:integration:chunk": "jest --silent --no-cache --bail --maxWorkers=50% --forceExit", "build": "tsc --allowJs --outDir ./dist" }, "dependencies": { diff --git a/integration-tests/modules/package.json b/integration-tests/modules/package.json index 93c49d1190..52e100fe69 100644 --- a/integration-tests/modules/package.json +++ b/integration-tests/modules/package.json @@ -5,8 +5,8 @@ "license": "MIT", "private": true, "scripts": { - "test:integration": "NODE_OPTIONS=--experimental-vm-modules jest --no-cache --maxWorkers=50% --bail --detectOpenHandles --forceExit --logHeapUsage", - "test:integration:chunk": "NODE_OPTIONS=--experimental-vm-modules jest --silent --no-cache --bail --maxWorkers=50% --forceExit", + "test:integration": "jest --no-cache --maxWorkers=50% --bail --detectOpenHandles --forceExit --logHeapUsage", + "test:integration:chunk": "jest --silent --no-cache --bail --maxWorkers=50% --forceExit", "build": "tsc --allowJs --outDir ./dist" }, "dependencies": {