Skip to content

Commit 37c71eb

Browse files
Fix jest config section
1 parent 3e7d130 commit 37c71eb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,10 @@ In jest.config, you'll need to add these lines to allow babel to transpile our c
124124
```json
125125
{
126126
"transform": {
127-
"node_modules/@cloudinary/url-gen": "babel-jest"
127+
"node_modules/@cloudinary/url-gen": "babel-jest",
128+
"node_modules/@cloudinary/transformation-builder-sdk": "babel-jest"
128129
},
129-
"transformIgnorePatterns": ["/node_modules/(?!@cloudinary/url-gen)"]
130+
"transformIgnorePatterns": ["/node_modules/(?!(@cloudinary/url-gen|@cloudinary/transformation-builder-sdk))"]
130131
}
131132
```
132133
Make sure to install babel-jest:

0 commit comments

Comments
 (0)