mirror of
https://gitlab.com/gitlab-org/gitlab-foss.git
synced 2025-07-25 16:03:48 +00:00
Add latest changes from gitlab-org/gitlab@master
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user