Skip to content

Commit 08419fa

Browse files
authored
Choose only one test file pattern (#76)
1 parent 4694198 commit 08419fa

File tree

3 files changed

+1
-2
lines changed

3 files changed

+1
-2
lines changed

jest.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ const config: Config.InitialOptions = {
99
'\\.(css|less|svg)$': '<rootDir>/__mocks__/dummy.ts',
1010
},
1111
modulePathIgnorePatterns: ['<rootDir>/dist'],
12+
testRegex: '.*\\.test\\.(ts|tsx|js|jsx)$',
1213
};
1314

1415
export default config;

styleguide.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ module.exports = {
2828
'**/__tests__/**',
2929
'**/tests/**',
3030
'**/*.test.{js,jsx,ts,tsx}',
31-
'**/*.spec.{js,jsx,ts,tsx}',
3231
'**/*.d.ts',
3332
'src/components/index.ts',
3433
],

styleguide.config.proxy.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ module.exports = {
2929
'**/__tests__/**',
3030
'**/tests/**',
3131
'**/*.test.{js,jsx,ts,tsx}',
32-
'**/*.spec.{js,jsx,ts,tsx}',
3332
'**/*.d.ts',
3433
'src/components/index.ts',
3534
],

0 commit comments

Comments
 (0)