Paul 5 years ago
parent
commit
86f6e02a10
2 changed files with 1 additions and 1 deletions
  1. 1
    1
      jest.config.js
  2. 0
    0
      test/utils.test.ts

+ 1
- 1
jest.config.js View File

@@ -2,6 +2,6 @@ module.exports = {
2 2
   transform: {
3 3
     '^.+\\.tsx?$': 'ts-jest',
4 4
   },
5
-  testRegex: '(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$',
5
+  testRegex: '(/test/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$',
6 6
   moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
7 7
 };

__test__/utils.test.ts → test/utils.test.ts View File