mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-11-10 18:50:52 +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',
|
||||
'^.+\\.svg$': 'jest-svg-transformer',
|
||||
},
|
||||
testRegex: '(/__tests__/.*)\\.(test|spec).[jt]sx?$',
|
||||
testRegex: '^.+\\.(test|spec).[jt]sx?$',
|
||||
setupFilesAfterEnv: ['<rootDir>/src/setupTests.ts'],
|
||||
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
|
||||
moduleDirectories: ['node_modules', 'src'],
|
||||
|
Loading…
Reference in New Issue
Block a user