mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-14 11:03:09 +02:00
8777fa793e
Co-authored-by: Johannes Dillmann <j.dillmann@sap.com>
24 lines
1.1 KiB
JSON
24 lines
1.1 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": {
|
|
"start": "node srv/hello.js",
|
|
"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"
|
|
}
|
|
}
|