Hey everyone, our company is currently trying to i...
# pact-js
d
Hey everyone, our company is currently trying to integrate Pact into our nx monorepo and we keep running into errors when trying to run the tests. Was curious if anyone has ever integrated Pact into an nx monorepo that uses angular, jest, and cypress. The initial error we're running into is jest and cypress types clashing when running the Pact test. Our monorepo is configured to support both jest/cypress and we have jest tests in other libs that run fine so not sure what about Pact is causing this behavior. (edited)
👋 1
y
Hey @Damian, I've not used nx before but I also maintain a couple of cypress packages and have had people with nx monorepos having various issues raised on my projects I know there is at least one user with nx in pact-js https://github.com/pact-foundation/pact-js/issues/731#issuecomment-900786756, they are on our v3 version, but haven't seen much else If you have some time to setup a repro project, it would be interesting to identify if the test run fine in
nx
without cypress, if so, then it may just be a typescript config issue,
✅ 1
d
Awesome, thanks yousaf! I'll look into this tomorrow and get back to you 🙂