Skip to content
代码片段 群组 项目
提交 4741bd5d 编辑于 作者: 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.
上级 dbf27167
No related branches found
No related tags found
无相关合并请求
......@@ -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(),
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册