NGUYEN HOANG MINH CHAU
08/13/2024, 10:30 AMMatt (pactflow.io / pact-js / pact-go)
messageProviders each key needs to map to the description in the pact file. It seems like 'configuration' in your code should be 'a configuration'.
The stateHandlers also need to map to the provider states in the pact file. It seems like your provider state is also called 'a configuration'Matt (pactflow.io / pact-js / pact-go)
NGUYEN HOANG MINH CHAU
08/14/2024, 6:49 AMNGUYEN HOANG MINH CHAU
08/14/2024, 6:49 AMNGUYEN HOANG MINH CHAU
08/14/2024, 6:50 AMMatt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
Yousaf Nabi (pactflow.io)
messageProviders are required to map your contract interactions to the code that will produce the message.
This is due to message-pact testing only the contents, and not the transport (unlike http pact)