hello everyone, So i have an application using kar...
# pact-js
n
hello everyone, So i have an application using karma for unit testing. and i want to make contract testing using the pact and jest. Does anyone know some repo from where can i base my implementation. Thanks
m
I don’t believe Karma and Jest can be used together, because they are both test runners. Pact is not compatible with Karma
If you use Karma today, you’re best just running the Pact test suite separately with Jest
n
Hi. Yes I'm using Jest for contract testing
thanks
@Matt (pactflow.io / pact-js / pact-go) now the next step is to use TestBed or something to use a class with dependency injection to make the requests to the mock provided by pact
👍 1
@Matt (pactflow.io / pact-js / pact-go) is it possible to use karma-pact in conjuntion with pactjs
m
Yes, but only with older versions of pact. Karma pact is dead