From dda5c940e6748da9e0e65ef76fddaf95b215b01f Mon Sep 17 00:00:00 2001 From: Yousaf Nabi Date: Fri, 6 Oct 2023 13:12:30 +0100 Subject: [PATCH] chore(docs): use raw link for message images fixes #1030 & https://github.com/pact-foundation/docs.pact.io/issues/265 failure to display on our docs.pact.io website https://docs.pact.io/implementation_guides/javascript/docs/messages --- docs/messages.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/messages.md b/docs/messages.md index 51b78433d..bd2bb0e94 100644 --- a/docs/messages.md +++ b/docs/messages.md @@ -16,11 +16,11 @@ Pact is a consumer-driven contract testing tool, which is a fancy way of saying The process looks like this on the consumer side: -![diagram](https://github.com/pact-foundation/pact-js/blob/master/docs/diagrams/message-consumer.png) +![diagram](https://raw.githubusercontent.com/pact-foundation/pact-js/master/docs/diagrams/message-consumer.png) The process looks like this on the provider (producer) side: -![diagram](https://github.com/pact-foundation/pact-js/blob/master/docs/diagrams/message-provider.png) +![diagram](https://raw.githubusercontent.com/pact-foundation/pact-js/master/docs/diagrams/message-provider.png) 1. The consumer writes a unit test of its behaviour using a Mock provided by Pact. 1. Pact writes the interactions into a contract file (as a JSON document).