Skip to content

Commit f0aab87

Browse files
tahierhussainclaude
andcommitted
Add Jest config to transform axios ES module
Configure transformIgnorePatterns to allow Jest to transform the axios package, which ships as an ES module and was causing test failures. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 336acd4 commit f0aab87

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

frontend/package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,5 +78,10 @@
7878
"prettier": "^2.8.3",
7979
"pretty-quick": "^3.1.3",
8080
"resize-observer-polyfill": "^1.5.1"
81+
},
82+
"jest": {
83+
"transformIgnorePatterns": [
84+
"node_modules/(?!(axios)/)"
85+
]
8186
}
8287
}

0 commit comments

Comments
 (0)