stable

Clone or download

Read-only

Move the pullrequest plugin to Jest

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

Modified Files

Name
D plugins/pullrequest/www/scripts/create-pullrequest-button/karma.conf.js +0 −23 Go to diff View file
D plugins/pullrequest/www/scripts/create-pullrequest-button/src/app.spec.js +0 −6 Go to diff View file
R plugins/pullrequest/www/scripts/create-pullrequest-button/src/store/actions.spec.js Go to diff View file
R plugins/pullrequest/www/scripts/create-pullrequest-button/src/store/getters.spec.js Go to diff View file
R plugins/pullrequest/www/scripts/create-pullrequest-button/src/store/mutations.spec.js Go to diff View file
A plugins/pullrequest/www/scripts/jest.config.js +20 −0 Go to diff View file
D plugins/pullrequest/www/scripts/karma.conf.js +0 −27 Go to diff View file
M plugins/pullrequest/www/scripts/package.json +2 −4 Go to diff View file
A plugins/pullrequest/www/scripts/src/app/__mocks__/angular-tlp.js +22 −0 Go to diff View file
A plugins/pullrequest/www/scripts/src/app/__mocks__/jquery.js +20 −0 Go to diff View file
D plugins/pullrequest/www/scripts/src/app/app.spec.js +0 −22 Go to diff View file
R plugins/pullrequest/www/scripts/src/app/code-collapse/code-collapse-service.spec.js Go to diff View file
R plugins/pullrequest/www/scripts/src/app/dashboard/dashboard-controller.spec.js Go to diff View file
R plugins/pullrequest/www/scripts/src/app/dashboard/pull-request-collection-rest-service.spec.js Go to diff View file
R plugins/pullrequest/www/scripts/src/app/dashboard/pull-request-collection-service.spec.js Go to diff View file
R plugins/pullrequest/www/scripts/src/app/dashboard/pull-request-summary/pull-request-summary-controller.spec.js Go to diff View file
R plugins/pullrequest/www/scripts/src/app/file-diff/diff-modes/side-by-side-code-placeholder-builder.spec.js Go to diff View file
R plugins/pullrequest/www/scripts/src/app/file-diff/diff-modes/side-by-side-comment-placeholder-builder.spec.js Go to diff View file
R plugins/pullrequest/www/scripts/src/app/file-diff/diff-modes/side-by-side-line-grouper.spec.js Go to diff View file
R plugins/pullrequest/www/scripts/src/app/file-diff/diff-modes/side-by-side-line-height-equalizer.spec.js Go to diff View file
R plugins/pullrequest/www/scripts/src/app/file-diff/diff-modes/side-by-side-line-mapper.spec.js Go to diff View file
M plugins/pullrequest/www/scripts/src/app/file-diff/diff-modes/side-by-side-lines-state.js +7 −1 Go to diff View file
R plugins/pullrequest/www/scripts/src/app/file-diff/diff-modes/side-by-side-lines-state.spec.js Go to diff View file
R plugins/pullrequest/www/scripts/src/app/file-diff/diff-modes/side-by-side-placeholder-positioner.spec.js Go to diff View file
R plugins/pullrequest/www/scripts/src/app/file-diff/diff-modes/side-by-side-scroll-synchronizer.spec.js Go to diff View file
R plugins/pullrequest/www/scripts/src/app/file-diff/diff-modes/side-by-side-widget-finder.spec.js Go to diff View file
M plugins/pullrequest/www/scripts/src/app/labels/labels-controller.js +1 −1 Go to diff View file
R plugins/pullrequest/www/scripts/src/app/overview/timeline/timeline-service.spec.js Go to diff View file
R plugins/pullrequest/www/scripts/src/app/pull-request-refs/pull-request-refs-controller.spec.js Go to diff View file
R plugins/pullrequest/www/scripts/src/app/pull-request/pull-request-controller.spec.js Go to diff View file
R plugins/pullrequest/www/scripts/src/app/pull-request/pull-request-rest-service.spec.js Go to diff View file
R plugins/pullrequest/www/scripts/src/app/pull-request/pull-request-service.spec.js Go to diff View file
M plugins/pullrequest/www/scripts/src/app/tooltip-service.js +1 −1 Go to diff View file
R plugins/pullrequest/www/scripts/src/app/user-rest-service.spec.js Go to diff View file
M plugins/pullrequest/www/scripts/webpack.config.js +0 −2 Go to diff View file
M tests/jest/jest.config.js +5 −1 Go to diff View file