stable

Clone or download

Read-only

Add Vue tests

This is part of story #10499 Have a labels widget on project dashboards How to test: - Run 'npm install' - Running 'npm run test' should run tests once. Tests should pass. - Running 'npm run watch' should watch files with webpack and run tests with karma - Running 'npm run coverage' should run tests once and open the default browser on a html test coverage report Change-Id: Ie59746cf154df17a691840b5dbd405dadeae5243

Modified Files

Name
D plugins/label/www/scripts/.babelrc +0 −10 Go to diff View file
A plugins/label/www/scripts/.gitignore +2 −0 Go to diff View file
A plugins/label/www/scripts/karma.conf.js +99 −0 Go to diff View file
M plugins/label/www/scripts/package-lock.json +2454 −41 Go to diff View file
M plugins/label/www/scripts/package.json +16 −2 Go to diff View file
A plugins/label/www/scripts/project-labeled-items/src/LabeledItem.spec.js +42 −0 Go to diff View file
M plugins/label/www/scripts/project-labeled-items/src/LabeledItem.vue +1 −1 Go to diff View file
A plugins/label/www/scripts/project-labeled-items/src/LabeledItemsList.spec.js +123 −0 Go to diff View file
M plugins/label/www/scripts/project-labeled-items/src/LabeledItemsList.vue +2 −2 Go to diff View file
A plugins/label/www/scripts/project-labeled-items/src/app.spec.js +22 −0 Go to diff View file
A plugins/label/www/scripts/tlp-mock.spec.js +1 −0 Go to diff View file
M plugins/label/www/scripts/webpack.config.js +46 −60 Go to diff View file
M tests/Jenkinsfile +1 −0 Go to diff View file