Add latest changes from gitlab-org/gitlab@master

This commit is contained in:
GitLab Bot
2023-11-24 12:12:29 +00:00
parent aab5db568e
commit 83ffdf4851
54 changed files with 551 additions and 885 deletions

View File

@ -233,8 +233,13 @@ module.exports = (path, options = {}) => {
collectCoverageFrom,
coverageDirectory: coverageDirectory(),
coverageReporters: ['json', 'lcov', 'text-summary', 'clover'],
// We need ignore _worker code coverage since we are manually transforming it
coveragePathIgnorePatterns: ['<rootDir>/node_modules/', '_worker\\.js$'],
coveragePathIgnorePatterns: [
'<rootDir>/node_modules/',
// We need ignore _worker code coverage since we are manually transforming it
'_worker\\.js$',
// we're using import.meta in main entrypoint with Vite which confuses Babel, so we just ignore it
'<rootDir>/app/assets/javascripts/entrypoints/main',
],
cacheDirectory: '<rootDir>/tmp/cache/jest',
modulePathIgnorePatterns: ['<rootDir>/.yarn-cache/'],
reporters,