stable
Clone or download
part of request #28863 fix TypeScript Jest coverage No functional change. If you "cd" in plugins/git/ and run the following command, it should succeed without an error ELIFECYCLE. $ COLLECT_COVERAGE=true CI=true pnpm run test --runInBand Notes: The "create branch action" app needs to pull its own dependencies, it is causing interference with the other Vue apps. As a result, Git plugin behaves like Tracker and AgileDashboard: it delegates test configurations to each smaller "app". A side-effect from this is that Git will also run tests suites for Gitlab plugin. It might make tests slightly slower because we run them twice, but it's acceptable for now. In order to fix that new problem, we should probably split each "app" in Git plugin into dedicated packages with their own build/test, etc. This requires much more work and is outside the scope of fixing the Jest coverage. Change-Id: Ie337346c8367cf88d08c1e8ede63dcba78947ede
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/git/package.json | +1 | −1 | Go to diff View file |
M | plugins/git/scripts/artifact-create-branch-action/package.json | +2 | −1 | Go to diff View file |
M | plugins/git/scripts/artifact-create-branch-action/pnpm-lock.yaml | +73 | −73 | Go to diff View file |
M | plugins/git/scripts/artifact-create-branch-action/src/components/ModalContent.test.ts | +3 | −1 | Go to diff View file |
M | plugins/git/scripts/artifact-create-branch-action/src/components/ModalContent.vue | +2 | −2 | Go to diff View file |
A | plugins/git/scripts/artifact-create-branch-action/tsconfig.json | +8 | −0 | Go to diff View file |
R | plugins/git/jest.config.js | Go to diff View file | ||
A | plugins/git/scripts/repositories/jest.config.js | +26 | −0 | Go to diff View file |
A | plugins/git/scripts/repository/jest.config.js | +26 | −0 | Go to diff View file |
M | plugins/git/tsconfig.json | +3 | −4 | Go to diff View file |