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:
committed by
GitHub
parent
b6d96a1b03
commit
25634b0382
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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": {
|
||||
|
||||
@@ -55,6 +55,6 @@
|
||||
"scripts": {
|
||||
"build": "rimraf dist && tsc --build",
|
||||
"watch": "tsc --build --watch",
|
||||
"test": "jest --runInBand --bail --forceExit"
|
||||
"test": "jest --bail --forceExit"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user