Skip to content

Commit c03d1b6

Browse files
committed
Fixing jest config + tests
1 parent 43ccffc commit c03d1b6

File tree

5 files changed

+127
-54
lines changed

5 files changed

+127
-54
lines changed

.babelrc.json

Lines changed: 0 additions & 16 deletions
This file was deleted.

jest.config.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,10 @@ const config: Config = {
177177
// testRunner: "jest-circus/runner",
178178

179179
// A map from regular expressions to paths to transformers
180-
// transform: undefined,
180+
transform: {
181+
"^.+\\.(tsx?|jsx?)$": "babel-jest",
182+
"^.+\\.svg$": "jest-transformer-svg",
183+
},
181184

182185
// An array of regexp pattern strings that are matched against all source file paths, matched files will skip transformation
183186
// transformIgnorePatterns: [

0 commit comments

Comments
 (0)