Undefined 'Model' on test with Karma Angular #2615
Answered
by
jamesgeorgewilliams
mpuerto-paymefy
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
jamesgeorgewilliams
Apr 23, 2024
Replies: 1 comment 7 replies
-
Could you create a simple reproducible case (a repo)? |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, thanks for updating the repository.
If using a version of JointJS before version
4.0.0
, it is necessary to include the dependencies that JointJS had in the past.Updating to the following in the
"test"
property inangular.json
will fix the issue.I strongly encourage you to update to the latest version of JointJS,
@joint/core
(4.0.2
) . It is dependency free, and you won't run into this issue.https://www.npmjs.com/package/@joint/core