diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-03-29 21:08:04 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-03-29 21:08:04 +0000 |
commit | ba537a9b5cf97308fd9fe099e0d022a9a76b66ad (patch) | |
tree | 0e9dc2706ecc9d1d246b5427329d2de4d8140776 /jest.config.base.js | |
parent | 2194dac7530ff4efa1e12051522e79ac761af1f4 (diff) | |
download | gitlab-ce-ba537a9b5cf97308fd9fe099e0d022a9a76b66ad.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'jest.config.base.js')
-rw-r--r-- | jest.config.base.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/jest.config.base.js b/jest.config.base.js index 0eab5caffb0..59c127fcb8a 100644 --- a/jest.config.base.js +++ b/jest.config.base.js @@ -109,7 +109,7 @@ module.exports = (path, options = {}) => { return { clearMocks: true, testMatch, - moduleFileExtensions: ['js', 'json', 'vue', 'gql', 'graphql'], + moduleFileExtensions: ['js', 'json', 'vue', 'gql', 'graphql', 'yaml'], moduleNameMapper, collectCoverageFrom, coverageDirectory: coverageDirectory(), @@ -127,6 +127,7 @@ module.exports = (path, options = {}) => { '^.+_worker\\.js$': './spec/frontend/__helpers__/web_worker_transformer.js', '^.+\\.js$': 'babel-jest', '^.+\\.vue$': 'vue-jest', + '^.+\\.yml$': './spec/frontend/__helpers__/yaml_transformer.js', '^.+\\.(md|zip|png)$': 'jest-raw-loader', }, transformIgnorePatterns: [ |