File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717 "test:unit:coverage" : " echo Unit tests not required" ,
1818 "typecheck" : " echo Typecheck not required"
1919 },
20- "version" : " 0 .0.1 "
20+ "version" : " 1 .0.0 "
2121}
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
3- set -euo pipefail
43
54published_version=$( npm view @nhsdigital/notify-digital-letters-consumer-contracts --json 2> /dev/null | jq -r ' .["dist-tags"].latest' )
65
6+ set -euo pipefail
7+
78# Fail if there are uncommitted changes as this indicates unexpected changes to the contracts
89git diff --quiet tests/pact-tests
910
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import path from 'node:path';
33export const PACT_CONSUMER = 'digital-letters' ;
44export const PACT_PROVIDER = 'status-published' ;
55export const PACT_MESSAGE_DESCRIPTION =
6- 'ChannelStatusPublished-letter-opted-out ' ;
6+ 'ChannelStatusPublished-paper_letter_opted_out ' ;
77export const PACT_DIRECTORY = path . resolve (
88 __dirname ,
99 '../.pacts/status-published' ,
You can’t perform that action at this time.
0 commit comments