stable

Clone or download

Read-only

Migrate kanban to Jest

Part of request #13806: Use Jest as the default test framework for JS unit tests No functional change. Change-Id: I3f2dc7d401b4d2322c05d6a40df703b8fdc8132e

Modified Files

Name
R plugins/agiledashboard/www/js/card-fields/highlight-filter.spec.js Go to diff View file
M plugins/agiledashboard/www/js/card-fields/index.spec.js +1 −1 Go to diff View file
M plugins/agiledashboard/www/js/jest.config.js +2 −1 Go to diff View file
D plugins/agiledashboard/www/js/kanban/.gitignore +0 −9 Go to diff View file
A plugins/agiledashboard/www/js/kanban/__mocks__/angular-tlp/angular-async.js +22 −0 Go to diff View file
A plugins/agiledashboard/www/js/kanban/__mocks__/angular-tlp/index.js +27 −0 Go to diff View file
A plugins/agiledashboard/www/js/kanban/__mocks__/ckeditor.js +20 −0 Go to diff View file
A plugins/agiledashboard/www/js/kanban/jest.config.js +36 −0 Go to diff View file
D plugins/agiledashboard/www/js/kanban/karma.conf.js +0 −55 Go to diff View file
M plugins/agiledashboard/www/js/kanban/package.json +2 −3 Go to diff View file
R plugins/agiledashboard/www/js/kanban/src/app/add-to-dashboard/add-to-dashboard-controller.spec.js Go to diff View file
R plugins/agiledashboard/www/js/kanban/src/app/app-kanban-controller.spec.js Go to diff View file
M plugins/agiledashboard/www/js/kanban/src/app/app.js +5 −3 Go to diff View file
D plugins/agiledashboard/www/js/kanban/src/app/app.spec.js +0 −39 Go to diff View file
R plugins/agiledashboard/www/js/kanban/src/app/column-collection-service.spec.js Go to diff View file
R plugins/agiledashboard/www/js/kanban/src/app/dropped-service.spec.js Go to diff View file
R plugins/agiledashboard/www/js/kanban/src/app/edit-kanban/edit-kanban-controller.spec.js Go to diff View file
R plugins/agiledashboard/www/js/kanban/src/app/error-modal/rest-error-service.spec.js Go to diff View file
R plugins/agiledashboard/www/js/kanban/src/app/filter-tracker-report/filter-tracker-report-controller.spec.js Go to diff View file
R plugins/agiledashboard/www/js/kanban/src/app/filter-tracker-report/filter-tracker-report-service.spec.js Go to diff View file
R plugins/agiledashboard/www/js/kanban/src/app/in-properties-filter/in-properties-filter.spec.js Go to diff View file
R plugins/agiledashboard/www/js/kanban/src/app/kanban-column/kanban-column-controller.spec.js Go to diff View file
R plugins/agiledashboard/www/js/kanban/src/app/kanban-column/kanban-column-service.spec.js Go to diff View file
D plugins/agiledashboard/www/js/kanban/src/app/kanban-item/kanban-item-rest-service.spec.js +0 −71 Go to diff View file
A plugins/agiledashboard/www/js/kanban/src/app/kanban-item/kanban-item-rest-service.test.js +86 −0 Go to diff View file
M plugins/agiledashboard/www/js/kanban/src/app/kanban-item/kanban-item.js +1 −1 Go to diff View file
R plugins/agiledashboard/www/js/kanban/src/app/kanban-service.spec.js Go to diff View file
M plugins/agiledashboard/www/js/kanban/src/app/reports-modal/diagram-directive.js +1 −1 Go to diff View file
R plugins/agiledashboard/www/js/kanban/src/app/reports-modal/diagram-rest-service.spec.js Go to diff View file
R plugins/agiledashboard/www/js/kanban/src/app/reports-modal/reports-modal-controller.spec.js Go to diff View file
R plugins/agiledashboard/www/js/kanban/src/app/reports-modal/reports-modal.spec.js Go to diff View file
D plugins/agiledashboard/www/js/kanban/src/app/tlp-mock.spec.js +0 −1 Go to diff View file
A plugins/agiledashboard/www/js/kanban/tests/angular-tlp.test.js +20 −0 Go to diff View file
A plugins/agiledashboard/www/js/kanban/tests/card-fields.test.js +20 −0 Go to diff View file
A plugins/agiledashboard/www/js/kanban/tests/jest.setup.js +26 −0 Go to diff View file
M plugins/agiledashboard/www/js/kanban/webpack.config.js +12 −26 Go to diff View file
D src/www/themes/common/tlp/angular-tlp/index.spec.js +0 −1 Go to diff View file
R src/www/themes/common/tlp/angular-tlp/tlp-modal-service.spec.js Go to diff View file
M tests/Jenkinsfile +0 −3 Go to diff View file