test(): test dynamic max workers and improve CI (#13516)

* test(): test dynamic max workers

* test(): test dynamic max workers

* test(): test dynamic max workers

* test(): test dynamic max workers

* test(): test dynamic max workers

* test(): test dynamic max workers

* test(): test dynamic max workers

* test(): test dynamic max workers

* test(): test dynamic max workers

* test(): test dynamic max workers

* test(): test dynamic max workers

* test(): test dynamic max workers

* test(): test dynamic max workers

* test(): test dynamic max workers

* test(): test dynamic max workers

* test(): test dynamic max workers

* Clarify test description and improve CI
This commit is contained in:
Adrien de Peretti
2025-09-16 11:11:03 +02:00
committed by GitHub
parent b6d96a1b03
commit 25634b0382
47 changed files with 131 additions and 113 deletions

View File

@@ -52,6 +52,6 @@
"scripts": {
"build": "rimraf dist && tsc --build",
"watch": "tsc --build --watch",
"test": "jest --runInBand --bail --forceExit --passWithNoTests"
"test": "jest --bail --forceExit --passWithNoTests"
}
}

View File

@@ -51,7 +51,7 @@
"watch": "tsc --watch ",
"watch:test": "tsc --watch",
"build": "rimraf dist && tsc --build",
"test": "jest --runInBand --bail --forceExit -- src/**/__tests__/**/*.ts"
"test": "jest --bail --forceExit -- src/**/__tests__/**/*.ts"
},
"devDependencies": {
"@aws-sdk/client-dynamodb": "^3.218.0",

View File

@@ -41,7 +41,7 @@
},
"scripts": {
"build": "rimraf dist && tsc -p tsconfig.json && tsc -p tsconfig.esm.json",
"test": "jest --passWithNoTests --runInBand --bail --forceExit --detectOpenHandles",
"test": "jest --passWithNoTests --bail --forceExit --detectOpenHandles",
"watch": "tsc --build --watch"
}
}

View File

@@ -27,7 +27,7 @@
"license": "MIT",
"scripts": {
"build": "rimraf dist && tsc --build",
"test": "jest --runInBand --bail --forceExit",
"test": "jest --bail --forceExit",
"watch": "tsc --build --watch"
},
"devDependencies": {

View File

@@ -55,6 +55,6 @@
"scripts": {
"build": "rimraf dist && tsc --build",
"watch": "tsc --build --watch",
"test": "jest --runInBand --bail --forceExit"
"test": "jest --bail --forceExit"
}
}

View File

@@ -71,7 +71,7 @@
"scripts": {
"build": "rimraf dist && tsc --build",
"watch": "tsc --build --watch",
"test": "jest --silent=false --bail --maxWorkers=50% --forceExit --testPathIgnorePatterns='/integration-tests/' -- src/**/__tests__/**/*.ts",
"test:integration": "jest --silent --bail --runInBand --forceExit -- src/**/integration-tests/__tests__/**/*.ts"
"test": "jest --silent=false --bail --forceExit --testPathIgnorePatterns='/integration-tests/' -- src/**/__tests__/**/*.ts",
"test:integration": "jest --silent --bail --forceExit -- src/**/integration-tests/__tests__/**/*.ts"
}
}

View File

@@ -60,7 +60,7 @@
"scripts": {
"build": "rimraf dist && tsc --build",
"watch": "tsc --build --watch",
"test": "jest --runInBand --bail --forceExit",
"test": "jest --bail --forceExit",
"test:run": "node ./dist/utils/_playground.js"
}
}