2 messages · Page 1 of 1 (latest)
Hey #jest pros
Today I did a setup of jest into Angular 17 repo and one of the tests used DragEvent in the test
Jest says DragEvent is not defined.
The only option was to mock it in the jest setup file but is it the only option for this issue? Would appreciate your advices
Depends , provide your code please