stable

Clone or download

Read-only

Use Jest Multi-Project-Runner instead of a global config

This let us redefine the Jest configuration locally which is going to be handy to migrate our remaining Karma/Jasmine Angular tests that use a lot of aliases. Existing Jest tests should continue to play as before this contribution. Global coverage report is a bit modified because now only code under a Jest project will be seen. Part of request #13806: Use Jest as the default test framework for JS unit tests No functional change. Change-Id: I8f8bf880f8b0fe52d59aac0e486be5f019b5e470

Modified Files

Name
M package.json +1 −1 Go to diff View file
M plugins/crosstracker/scripts/jest.config.js +4 −1 Go to diff View file
M plugins/document/scripts/jest.config.js +10 −1 Go to diff View file
M plugins/frs/www/js/angular/jest.config.js +11 −1 Go to diff View file
M plugins/git/www/scripts/jest.config.js +4 −1 Go to diff View file
M plugins/label/www/scripts/jest.config.js +4 −1 Go to diff View file
M plugins/pullrequest/www/scripts/jest.config.js +10 −1 Go to diff View file
M plugins/release_widget/scripts/jest.config.js +10 −1 Go to diff View file
M plugins/taskboard/scripts/jest.config.js +10 −1 Go to diff View file
M plugins/timetracking/www/scripts/jest.config.js +10 −1 Go to diff View file
M plugins/tracker/www/scripts/jest.config.js +11 −1 Go to diff View file
M src/www/scripts/jest.config.js +24 −1 Go to diff View file
M src/www/themes/common/tlp/jest.config.js +4 −1 Go to diff View file
R tests/jest/jest.config.js Go to diff View file
A tests/jest/jest.projects.config.js +32 −0 Go to diff View file