Hi guys, do you have some up-to-date example of integration pact with angular application?
m
Matt (pactflow.io / pact-js / pact-go)
10/02/2023, 10:57 AM
Not that I'm aware, there is nothing specific to angular that I'm aware of. Is there something specific you're struggling with?
d
Dmitrii Izmirov
10/02/2023, 11:01 AM
Thanks for reply. I just wanted to have full example of how it is integrated in angular app. I mean intial setup settings, for example, how to change angular.json and other files like that. I found few examples in internet, but they are outdated.
m
Matt (pactflow.io / pact-js / pact-go)
10/02/2023, 11:41 AM
Fair enough.
Matt (pactflow.io / pact-js / pact-go)
10/02/2023, 11:41 AM
I guess one thing to consider, is that Pact JS is not compatible with Karma (is that still a thing with Angular?). You need to use a NodeJS based test runner (e.g. Jest, Mocha)
👍 2
d
Dmitrii Izmirov
10/02/2023, 12:06 PM
Yes, that is true. Our application uses karma at the moment.