migrate js-api tests from Jest to Node.js native test runner (#12104)

This commit is contained in:
Denys Vuika
2026-07-28 20:04:31 +01:00
committed by GitHub
parent c316c6b594
commit 6c8b874704
58 changed files with 2355 additions and 4978 deletions
+6 -3
View File
@@ -89,11 +89,14 @@
"dependsOn": ["build"]
},
"test": {
"executor": "@nx/jest:jest",
"executor": "nx:run-commands",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"options": {
"jestConfig": "lib/js-api/jest.config.ts",
"passWithNoTests": true
"commands": [
{
"command": "TS_NODE_PROJECT=lib/js-api/tsconfig.spec.json TS_NODE_TRANSPILE_ONLY=true node --require ts-node/register --test 'lib/js-api/test/**/*.spec.ts'"
}
]
}
}
}