Skip to content

Commit

Permalink
Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
tlivings committed Sep 20, 2022
1 parent 8adf5fe commit be558ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ const ESM_PACKAGES = ['graphql', 'graphql-upload', 'fs-capacitor'];

const moduleNameMap = {
//This line is to enable testing import with require.resolve, which would normally get intercepted
'^@graphql\-tools\/import\/(.*).graphql$': `${ROOT_DIR}/packages/import/$1.graphql`,
...pathsToModuleNameMapper(tsconfig.compilerOptions.paths, { prefix: `${ROOT_DIR}/` })
'^@graphql-tools/import/(.*).graphql$': `${ROOT_DIR}/packages/import/$1.graphql`,
...pathsToModuleNameMapper(tsconfig.compilerOptions.paths, { prefix: `${ROOT_DIR}/` }),
};

module.exports = {
Expand Down

0 comments on commit be558ca

Please sign in to comment.