Paul 5 年 前
コミット
86f6e02a10
共有2 個のファイルを変更した1 個の追加1 個の削除を含む
  1. 1
    1
      jest.config.js
  2. 0
    0
      test/utils.test.ts

+ 1
- 1
jest.config.js ファイルの表示

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

__test__/utils.test.ts → test/utils.test.ts ファイルの表示