From b93338ea05d98e89c365c8c4e44067dc1bf0376c Mon Sep 17 00:00:00 2001 From: Matt Fellows Date: Tue, 29 Aug 2023 08:30:41 +1000 Subject: [PATCH] chore: fix spelling in provider docs --- docs/provider.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/provider.md b/docs/provider.md index be6d0b1a1..bd37c4ae9 100644 --- a/docs/provider.md +++ b/docs/provider.md @@ -82,7 +82,7 @@ pact.VerifyProvider(t, types.VerifyRequest{ As you can see, for each state (`"User 1234 exists"` etc.) we configure the local datastore differently. If this option is not configured, the `Verifier` will ignore the provider states defined in the pact and log a warning. -Each handler takes a `setup` property indicating if the state is being setup (before the test) or torn dowmn (post request). This is useful if you want to cleanup after the test. +Each handler takes a `setup` property indicating if the state is being setup (before the test) or torn down (after the test request). This is useful if you want to cleanup after the test. You may also optionally return a key/value map for provider state value generators to substitute values in the incoming test request.