2020-08-30 04:15:50 +02:00
|
|
|
module.exports = {
|
|
|
|
roots: ['<rootDir>'],
|
2020-10-27 21:20:03 +01:00
|
|
|
moduleFileExtensions: ['ts', 'tsx', 'js', 'json', 'jsx'],
|
2020-08-30 04:15:50 +02:00
|
|
|
testPathIgnorePatterns: ['<rootDir>[/\\\\](node_modules|.next)[/\\\\]'],
|
|
|
|
transformIgnorePatterns: ['[/\\\\]node_modules[/\\\\].+\\.(ts|tsx)$'],
|
|
|
|
transform: {
|
|
|
|
'^.+\\.(ts|tsx)$': 'babel-jest',
|
|
|
|
'\\.graphql$': [
|
|
|
|
'graphql-let/jestTransformer',
|
|
|
|
{ subsequentTransformer: 'babel-jest' },
|
|
|
|
],
|
|
|
|
},
|
|
|
|
}
|