Matt (pactflow.io / pact-js / pact-go)
doTestCreateGithubRepo
function at all. I think you can just do something like this:
err = mockProvider.ExecuteTest(t, executeTestCreateGithubRepo("foo", t))
and then
var executeTestCreateGithubRepo = func(repo string, t *testing.T) func(config MockServerConfig) error {
...
}