mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-14 11:03:09 +02:00
0fcf1654fe
Extend mta build step to install maven artefacts after build to allow re-using them in later stages (additional unit or integration tests which might not be running as part of the "build" life-cycle).
23 lines
1.0 KiB
JSON
23 lines
1.0 KiB
JSON
{
|
|
"name": "test-mta-js",
|
|
"version": "1.0.0",
|
|
"dependencies": {
|
|
"jest": "^26.0.1",
|
|
"jest-jenkins-reporter": "^1.0.2"
|
|
},
|
|
"devDependencies": {
|
|
"chai": "^4.2.0",
|
|
"mocha": "^8.0.1",
|
|
"mocha-junit-reporter": "^2.0.0",
|
|
"nyc": "^15.1.0",
|
|
"sinon": "^9.0.2",
|
|
"sinon-chai": "^3.5.0",
|
|
"ts-node": "^8.10.2",
|
|
"typescript": "^3.9.5"
|
|
},
|
|
"scripts": {
|
|
"ci-backend-unit-test": "nyc --report-dir ./s4hana_pipeline/reports/coverage-reports/backend-unit/ --reporter cobertura mocha -r ts-node/register test/unit-tests/*.spec.js --reporter mocha-junit-reporter --reporter-options mochaFile=./s4hana_pipeline/reports/backend-unit/results.xml",
|
|
"ci-it-backend": "nyc --report-dir ./s4hana_pipeline/reports/coverage-reports/backend-integration/ --reporter cobertura mocha -r ts-node/register test/integration-tests/*.spec.js --reporter mocha-junit-reporter --reporter-options mochaFile=./s4hana_pipeline/reports/backend-integration/results.xml"
|
|
}
|
|
}
|