Test Error Due to Falso #286
-
I've got a new install of Angular 14.x using Jest 28.x based on the Angular-Jest-Preset with Node v14.x. The application tests were working until I started using Falso, and I'm not sure I understand the error. The files appear to CommonJS based on the last line of the error so it doesn't appear to be an ESM error. Does any know why this is happening and how to fix it?
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 7 replies
-
The error is from the uuid library |
Beta Was this translation helpful? Give feedback.
-
Hi @NetanelBasal and @mtpultz1977, What did you do to resolve this issue and make the test passes with falso on angular v14 and jest v28? |
Beta Was this translation helpful? Give feedback.
-
Can someone send a link to a simple reproduction on Github, please? |
Beta Was this translation helpful? Give feedback.
-
I was able to fix this by adding |
Beta Was this translation helpful? Give feedback.
The error is from the uuid library