stable

Clone or download

Read-only

Move the testmanagement plugin to Jest

Part of request #13806: Use Jest as the default test framework for JS unit tests This also adds a Jenkinsfile so that the CI adapts to the plugin's code. No functional change. Change-Id: Ibad1d6a82dda2f0f8870b3ff288f8a5c8d715f5d

Modified Files

Name
M .editorconfig +0 −2 Go to diff View file
M .gitignore +0 −5 Go to diff View file
A Jenkinsfile +146 −0 Go to diff View file
A scripts/angular/src/app/__mocks__/angular-tlp.js +27 −0 Go to diff View file
A scripts/angular/src/app/__mocks__/ckeditor.js +20 −0 Go to diff View file
R scripts/angular/src/app/api/rest-querier.spec.js Go to diff View file
R scripts/angular/src/app/app-filter.spec.js Go to diff View file
M scripts/angular/src/app/app.js +1 −1 Go to diff View file
D scripts/angular/src/app/app.spec.js +0 −40 Go to diff View file
R scripts/angular/src/app/artifact-links-graph/artifact-links-model-service.spec.js Go to diff View file
M scripts/angular/src/app/campaign/campaign-edit-controller.js +3 −1 Go to diff View file
R scripts/angular/src/app/campaign/campaign-edit-controller.spec.js Go to diff View file
R scripts/angular/src/app/campaign/campaign-list-controller.spec.js Go to diff View file
R scripts/angular/src/app/campaign/campaign-service.spec.js Go to diff View file
R scripts/angular/src/app/campaign/edit-campaign/edit-campaign-model-builder.spec.js Go to diff View file
M scripts/angular/src/app/definition/definition-service.js +8 −5 Go to diff View file
R scripts/angular/src/app/execution-collection/execution-rest-service.spec.js Go to diff View file
M scripts/angular/src/app/execution-collection/execution-service.js +13 −4 Go to diff View file
R scripts/angular/src/app/execution-collection/execution-service.spec.js Go to diff View file
R scripts/angular/src/app/execution/execution-detail-controller.spec.js Go to diff View file
R scripts/angular/src/app/execution/execution-link-issue-controller.spec.js Go to diff View file
R scripts/angular/src/app/execution/execution-list-controller.spec.js Go to diff View file
R scripts/angular/src/app/execution/execution-list-filter.spec.js Go to diff View file
R scripts/angular/src/app/execution/execution-list-header/execution-list-header-controller.spec.js Go to diff View file
R scripts/angular/src/app/execution/execution-with-steps/execution-with-steps-controller.spec.js Go to diff View file
R scripts/angular/src/app/execution/execution-with-steps/step/execution-with-steps-updater.spec.js Go to diff View file
R scripts/angular/src/app/execution/execution-with-steps/step/step-controller.spec.js Go to diff View file
M scripts/angular/src/app/execution/execution.js +1 −1 Go to diff View file
R scripts/angular/src/app/socket/socket-service.spec.js Go to diff View file
A scripts/angular/tests/jest.setup.js +26 −0 Go to diff View file
A scripts/jest.config.js +32 −0 Go to diff View file
D scripts/karma.conf.js +0 −56 Go to diff View file
M scripts/package.json +2 −3 Go to diff View file
M scripts/step-definition-field/StepDefinitionDragContainer.vue +26 −27 Go to diff View file
M scripts/step-definition-field/StepDefinitionDraggableComponent.vue +10 −10 Go to diff View file
M scripts/step-definition-field/StepDefinitionNoStep.vue +9 −9 Go to diff View file
M scripts/step-definition-field/store/state.js +1 −1 Go to diff View file
M scripts/webpack.config.js +5 −6 Go to diff View file
M webpack.common.js +8 −7 Go to diff View file