-
Dear Pacties! I am trying to add Pact (to be precise PactWeb and Pact Karma) to an Angular project. Also is there any guide on how to exactly use PactJS in a browser? For instance with something like Karma and Jasmine? Cheers, MaC |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
The current state is that we don't have plans to continue to support Pact Web going forward (see also #626). I do believe there was a community member that had some thoughts on how we could continue to do so. Personally, I don't believe the effort in maintaining the two interfaces is worth it. Any tests that are currently being run in Karma/Jasmine could easily be run in a Node based testing library (Jest, Mocha etc.). I understand this doesn't make everyone happy, but also from a maintainer point of view it increases the support burden and product surface area which ultimately means it takes us longer to add new features etc.
You can setup multiple providers, the
Only |
Beta Was this translation helpful? Give feedback.
-
I can totally understand the maintenance aspect. So if I understand it correctly the long term and most feasible suggestion for Angular projects would probably be to use Jest instead of Jasmine/Karma? Thx for the quick reply Matt! Cheers, MaC |
Beta Was this translation helpful? Give feedback.
The current state is that we don't have plans to continue to support Pact Web going forward (see also #626). I do believe there was a community member that had some thoughts on how we could continue to do so.
Personally, I don't believe the effort in maintaining the two interfaces is worth it. Any tests that are currently being run in Karma/Jasmine could easily be run in a Node based testing library (Jest, Mocha etc.). I understand this doesn't make everyone happy, but also from a maintainer point of view it increases the support burden and product surface area which ultimately means it takes us longer to add new features etc.