4 lines
72 B
Groovy

stage('unit tests') {
echo 'runing tests...'
sh 'npm run test'
}