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 @@
- "jest.config.{base,integration,unit}.js"
- "config/helpers/**/*.js"
- "vendor/assets/javascripts/**/*"
- "{,ee/,jh/}app/assets/**/*.graphql"
################
# Shared rules #
......
......@@ -102,7 +102,7 @@ module.exports = (path, options = {}) => {
return {
clearMocks: true,
testMatch,
moduleFileExtensions: ['js', 'json', 'vue'],
moduleFileExtensions: ['js', 'json', 'vue', 'gql', 'graphql'],
moduleNameMapper,
collectCoverageFrom,
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