We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 598c9bb commit e21d5caCopy full SHA for e21d5ca
1 file changed
jest.config.js
@@ -1,10 +1,10 @@
1
module.exports = {
2
verbose: true,
3
- roots: ['<rootDir>/components'],
+ roots: ['<rootDir>/src'],
4
moduleNameMapper: {
5
'\\.(css|less|scss)$': 'identity-obj-proxy',
6
- '^components$': '<rootDir>/components/index.tsx',
7
- '^components(.*)$': '<rootDir>/components/$1',
+ '^src$': '<rootDir>/src/index.tsx',
+ '^src(.*)$': '<rootDir>/src/$1',
8
},
9
testRegex: '(/test/.*|\\.(test|spec))\\.(ts|tsx|js)$',
10
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],
0 commit comments