Skip to content

Commit

Permalink
chore: upgrade to matt plugin 0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mefellows committed Feb 9, 2024
1 parent c3b9d6c commit e960e5d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions examples/v4/plugins/test/matt.consumer.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const { expect } = chai;
.uponReceiving('an HTTP request to /matt')
.usingPlugin({
plugin: 'matt',
version: '0.1.0',
version: '0.1.1',
})
.withRequest('POST', '/matt', (builder) => {
builder.pluginContents('application/matt', mattRequest);
Expand Down Expand Up @@ -75,7 +75,7 @@ const { expect } = chai;
.addSynchronousInteraction('a MATT message')
.usingPlugin({
plugin: 'matt',
version: '0.1.0',
version: '0.1.1',
})
.withPluginContents(mattMessage, 'application/matt')
.startTransport('matt', HOST)
Expand Down
4 changes: 2 additions & 2 deletions scripts/install-plugins.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ if [ ! -f ~/.pact/bin/pact-plugin-cli ]; then
chmod +x ~/.pact/bin/pact-plugin-cli
fi

if [ ! -d ~/.pact/plugins/matt-0.1.0 ]; then
if [ ! -d ~/.pact/plugins/matt-0.1.1 ]; then
echo "--- 🐿 Installing MATT plugin"
~/.pact/bin/pact-plugin-cli install https://github.com/you54f/pact-matt-plugin/releases/tag/v0.1.0
~/.pact/bin/pact-plugin-cli install https://github.com/mefellows/pact-matt-plugin/releases/tag/v0.1.1
fi
4 changes: 2 additions & 2 deletions src/pact.integration.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ describe('V4 Pact', () => {
.uponReceiving('an HTTP request to /matt')
.usingPlugin({
plugin: 'matt',
version: '0.1.0',
version: '0.1.1',
})
.withRequest('POST', '/matt', (builder) => {
builder.pluginContents('application/matt', mattRequest);
Expand Down Expand Up @@ -144,7 +144,7 @@ describe('V4 Pact', () => {
.addSynchronousInteraction('a MATT message')
.usingPlugin({
plugin: 'matt',
version: '0.1.0',
version: '0.1.1',
})
.withPluginContents(mattMessage, 'application/matt')
.startTransport('matt', HOST)
Expand Down

0 comments on commit e960e5d

Please sign in to comment.