Commit 4741bd5d authored by Albert Salim's avatar Albert Salim

Track graphql extensions as modules

This would include `.gql` and `.graphql` extensions
into jest filesystem. In turn, it enables
jest to resolve dependencies that use these extensions.
parent dbf27167
......@@ -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