Matt Calthrop
06/27/2023, 4:07 PMpostMessage to do so
• and the child iframe also sends data back to the parent frame via postMessage
So I want to be able to verify the shape of the data that is sent via postMessage.
Ideas on where to start? I’ve had a look at a lot of the videos and articles, and from what I can see, a Pact Provider needs to be one of the existing providers listed here:
https://docs.pact.io/implementation_guides/workshops#providers
But I might be missing something 🤓Timothy Jones
06/28/2023, 12:25 AMTimothy Jones
06/28/2023, 12:26 AMpostMessage.
You would have your consumer test implement something that calls postMessage with the data you’re expecting.Timothy Jones
06/28/2023, 12:27 AMTimothy Jones
06/28/2023, 1:45 AMTimothy Jones
06/28/2023, 1:46 AMMatt Calthrop
06/28/2023, 7:54 AMTimothy Jones
06/28/2023, 8:21 AMMatt Calthrop
06/28/2023, 8:39 AMMatt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
Matt Calthrop
06/28/2023, 1:36 PM