mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-14 17:02:49 +03:00
Console: jest tests files regexp + refactoring
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5308 GitOrigin-RevId: cd057218397e724ea7a92cdd025fae508d5774a7
This commit is contained in:
parent
b658df1c43
commit
af97da8496
@ -4,7 +4,7 @@ module.exports = {
|
|||||||
'^.+\\.(ts|tsx|js|jsx)?$': 'ts-jest',
|
'^.+\\.(ts|tsx|js|jsx)?$': 'ts-jest',
|
||||||
'^.+\\.svg$': 'jest-svg-transformer',
|
'^.+\\.svg$': 'jest-svg-transformer',
|
||||||
},
|
},
|
||||||
testRegex: '(/__tests__/.*)\\.(test|spec).[jt]sx?$',
|
testRegex: '^.+\\.(test|spec).[jt]sx?$',
|
||||||
setupFilesAfterEnv: ['<rootDir>/src/setupTests.ts'],
|
setupFilesAfterEnv: ['<rootDir>/src/setupTests.ts'],
|
||||||
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
|
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
|
||||||
moduleDirectories: ['node_modules', 'src'],
|
moduleDirectories: ['node_modules', 'src'],
|
||||||
|
Loading…
Reference in New Issue
Block a user