Changed package scripts.
This commit is contained in:
parent
2cb4ad2652
commit
b6df52fde5
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -23,7 +23,7 @@ pipeline {
|
||||
steps {
|
||||
dir('audioshowkit') {
|
||||
nodejs('NodeJS (17.4.0)') {
|
||||
sh "npm run test"
|
||||
sh "npm run test:junit"
|
||||
}
|
||||
junit 'junit/*.xml'
|
||||
}
|
||||
|
@ -9,7 +9,9 @@
|
||||
"build:prod": "webpack --config webpack.prod.cjs",
|
||||
"build:dev": "webpack --config webpack.dev.cjs",
|
||||
"build": "webpack --config webpack.dev.cjs",
|
||||
"test": "mocha tests/** --reporter mocha-junit-reporter --reporter-options mochaFile=./junit/test_results.xml",
|
||||
"test:junit": "mocha tests/** --reporter mocha-junit-reporter --reporter-options mochaFile=./junit/test_results.xml",
|
||||
"test:console": "mocha tests/**",
|
||||
"test": "mocha tests/**",
|
||||
"docs": "esdoc"
|
||||
},
|
||||
"author": "",
|
||||
@ -33,4 +35,4 @@
|
||||
"webpack-cli": "^4.9.2",
|
||||
"webpack-merge": "^5.8.0"
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user