Commit 75b31127 authored by Rémy Coutable's avatar Rémy Coutable

Merge branch '339344-track-graphql-jest' into 'master'

Track graphql extensions as modules

See merge request gitlab-org/gitlab!70671
parents 3476b0f6 2e06aef9
...@@ -374,7 +374,6 @@ ...@@ -374,7 +374,6 @@
- "jest.config.{base,integration,unit}.js" - "jest.config.{base,integration,unit}.js"
- "config/helpers/**/*.js" - "config/helpers/**/*.js"
- "vendor/assets/javascripts/**/*" - "vendor/assets/javascripts/**/*"
- "{,ee/,jh/}app/assets/**/*.graphql"
################ ################
# Shared rules # # Shared rules #
......
...@@ -102,7 +102,7 @@ module.exports = (path, options = {}) => { ...@@ -102,7 +102,7 @@ module.exports = (path, options = {}) => {
return { return {
clearMocks: true, clearMocks: true,
testMatch, testMatch,
moduleFileExtensions: ['js', 'json', 'vue'], moduleFileExtensions: ['js', 'json', 'vue', 'gql', 'graphql'],
moduleNameMapper, moduleNameMapper,
collectCoverageFrom, collectCoverageFrom,
coverageDirectory: coverageDirectory(), coverageDirectory: coverageDirectory(),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment