<NME> jest.config.js
<BEF> // For a detailed explanation regarding each configuration property, visit:
// https://jestjs.io/docs/en/configuration.html

module.exports = {
  clearMocks: true,
  coverageDirectory: 'coverage',
  rootDir: './src',
  transform: {
    '^.+\\.ts$': 'ts-jest'
  },
  setupFiles: [
    './tests/jest-setup.ts',
  ],
  testEnvironment: 'node',
};

<MSG> Merge pull request #551 from baruchiro/babel-jest

Fix babel and jest
<DFF> @@ -2,6 +2,7 @@
 // https://jestjs.io/docs/en/configuration.html
 
 module.exports = {
+  preset: 'ts-jest/presets/js-with-babel',
   clearMocks: true,
   coverageDirectory: 'coverage',
   rootDir: './src',
@@ -12,4 +13,9 @@ module.exports = {
     './tests/jest-setup.ts',
   ],
   testEnvironment: 'node',
+  globals: {
+    'ts-jest': {
+      babelConfig: true,
+    }
+  },
 };

Merge pull request #551 from baruchiro/babel-jest