The general advice for pretty much all classes of unit testing (and probably further up the stack) is to test in the codebase of the code being tested.
For a variety of reasons, but the main over-riding one for Pact is that you want your contracts to change as an artefact of running tests on the changed code, The further away this test, the slower the feedback loop, the greater cost of change, and the potential for expectation drift (that which you present to the provider, and that of which your consumer code actually performs)