From ad9e9b3870e795f51d1735739f40a3892c1b4539 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Burzy=C5=84ski?= Date: Tue, 13 Jul 2021 10:15:16 +0200 Subject: [PATCH] Add TS files to Jest transform setting --- jest.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jest.config.js b/jest.config.js index 081b19bf4..f83dbf0de 100644 --- a/jest.config.js +++ b/jest.config.js @@ -1,7 +1,7 @@ module.exports = { transform: { '\\.css$': '/test/styleTransform.js', - '^.+\\.js?$': 'babel-jest' + '^.+\\.(tsx|ts|js)?$': 'babel-jest' }, watchPlugins: [ 'jest-watch-typeahead/filename',