зеркало из https://github.com/Azure/ms-rest-js.git
Merge pull request #295 from Azure/daschult/testResults
Add test results to pipeline
This commit is contained in:
Коммит
4706172583
|
@ -90,6 +90,7 @@ dist/
|
|||
*.d.ts.map
|
||||
*.js
|
||||
*.js.map
|
||||
test-results.xml
|
||||
|
||||
# Rollup
|
||||
!rollup.config.js
|
||||
|
|
|
@ -26,3 +26,7 @@ jobs:
|
|||
artifactName: dist
|
||||
downloadPath: $(System.DefaultWorkingDirectory)
|
||||
- script: 'npm test'
|
||||
- task: PublishTestResults@2
|
||||
inputs:
|
||||
testResultsFiles: '**/test-results.xml'
|
||||
testRunTitle: 'Test results for JavaScript'
|
||||
|
|
|
@ -76,6 +76,7 @@
|
|||
"glob": "^7.1.2",
|
||||
"mocha": "^5.1.1",
|
||||
"mocha-chrome": "^1.1.0",
|
||||
"mocha-junit-reporter": "^1.18.0",
|
||||
"npm-run-all": "^4.1.5",
|
||||
"rollup": "^0.67.3",
|
||||
"rollup-plugin-alias": "^1.4.0",
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
--require ts-node/register
|
||||
--timeout 50000
|
||||
--reporter list
|
||||
--reporter mocha-junit-reporter
|
||||
--colors
|
||||
test/node/**/*.ts
|
||||
test/shared/**/*.ts
|
||||
|
|
Загрузка…
Ссылка в новой задаче