Browse Source

Use babelConfig for ts-jest

Taichi Masuyama 4 years ago
parent
commit
6dfe835506
1 changed files with 7 additions and 0 deletions
  1. 7 0
      packages/app/jest.config.js

+ 7 - 0
packages/app/jest.config.js

@@ -70,4 +70,11 @@ module.exports = {
     '/node_modules/',
   ],
 
+  // see: https://github.com/facebook/jest/issues/8973
+  globals: {
+    'ts-jest': {
+      babelConfig: true,
+    }
+  },
+
 };