stable

Clone or download

Read-only

Stop using `jest-jasmine2` to run the tests of packages using `angular-mocks`

`angular-mocks` is only compatible with Jasmine and Mocha since it has not been updated for a while. As a result we still have have to use jest-jasmine2 instead of the default jest-circus. In fact `angular-mocks` can run inside another test runners as long as you expose compatible APIs and you make it thing it is executed with Jasmine. Part of request #27909: Move packages using `angular-mocks` to Vitest Change-Id: Ic909edfa7df39d8e08c488b8bb7ae4bebaef319c

Modified Files

Name
M lib/frontend/angular-tlp/jest.config.js +2 −2 Go to diff View file
M lib/frontend/angular-tlp/src/tlp-modal-service.test.js +2 −2 Go to diff View file
M lib/frontend/build-system-configurator/src/jest/base-config.ts +4 −0 Go to diff View file
A lib/frontend/build-system-configurator/src/jest/fake-jasmine2-env.js +20 −0 Go to diff View file
M lib/frontend/build-system-configurator/src/main.ts +4 −1 Go to diff View file
M package.json +0 −1 Go to diff View file
M plugins/agiledashboard/scripts/kanban/jest.config.js +5 −3 Go to diff View file
M plugins/agiledashboard/scripts/lib/card-fields/jest.config.js +2 −2 Go to diff View file
M plugins/agiledashboard/scripts/planning-v2/jest.config.js +5 −2 Go to diff View file
M plugins/frs/jest.config.js +5 −2 Go to diff View file
M plugins/pullrequest/jest.config.js +5 −2 Go to diff View file
M plugins/testmanagement/jest.config.js +8 −3 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/jest.config.js +5 −2 Go to diff View file
M pnpm-lock.yaml +0 −27 Go to diff View file