Skip to content

Commit

Permalink
build: fix enzyme-to-json serializer path
Browse files Browse the repository at this point in the history
  • Loading branch information
tkajtoch committed Jun 4, 2024
1 parent 46cf66a commit 3770c84
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/eui/scripts/jest/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,7 @@ const config = {
'^.+\\.(js|tsx?)$': 'babel-jest',
},
snapshotSerializers: [
// enzyme-to-json is installed in the root node_modules and needs
// an exact path to be provided here
'<rootDir>/../../node_modules/enzyme-to-json/serializer',
'<rootDir>/node_modules/enzyme-to-json/serializer',
'<rootDir>/scripts/jest/setup/emotion',
],
// react version and user permissions aware cache directory
Expand Down

0 comments on commit 3770c84

Please sign in to comment.