From 9bb0d10d609559493e8fb3b1c1fd952ca8f724b2 Mon Sep 17 00:00:00 2001 From: mefellows Date: Tue, 5 Sep 2023 10:29:03 +1000 Subject: [PATCH] chore: use recommended selectors in verifications --- examples/e2e/test/provider.spec.js | 6 ++++++ examples/graphql/src/provider.spec.ts | 6 ++++++ examples/messages/provider/message-provider.spec.ts | 6 ++++++ examples/serverless/provider/message-provider.spec.js | 6 ++++++ examples/v3/e2e/test/provider.spec.js | 6 ++++++ 5 files changed, 30 insertions(+) diff --git a/examples/e2e/test/provider.spec.js b/examples/e2e/test/provider.spec.js index 67dd01d88..4bb04bdf4 100644 --- a/examples/e2e/test/provider.spec.js +++ b/examples/e2e/test/provider.spec.js @@ -74,6 +74,12 @@ describe('Pact Verification', () => { { matchingBranch: true, }, + { + mainBranch: true, + }, + { + deployedOrReleased: true, + }, ], // Enables "pending pacts" feature diff --git a/examples/graphql/src/provider.spec.ts b/examples/graphql/src/provider.spec.ts index 67c654f1a..5e7b739be 100644 --- a/examples/graphql/src/provider.spec.ts +++ b/examples/graphql/src/provider.spec.ts @@ -37,6 +37,12 @@ describe('Pact Verification', () => { { matchingBranch: true, }, + { + mainBranch: true, + }, + { + deployedOrReleased: true, + }, ], logLevel: LOG_LEVEL as LogLevel, }; diff --git a/examples/messages/provider/message-provider.spec.ts b/examples/messages/provider/message-provider.spec.ts index 1dfd9c20f..525b05a82 100644 --- a/examples/messages/provider/message-provider.spec.ts +++ b/examples/messages/provider/message-provider.spec.ts @@ -43,6 +43,12 @@ describe('Message provider tests', () => { { matchingBranch: true, }, + { + mainBranch: true, + }, + { + deployedOrReleased: true, + }, ], }); diff --git a/examples/serverless/provider/message-provider.spec.js b/examples/serverless/provider/message-provider.spec.js index 1b850785b..bfcd35c0a 100644 --- a/examples/serverless/provider/message-provider.spec.js +++ b/examples/serverless/provider/message-provider.spec.js @@ -40,6 +40,12 @@ describe('Message provider tests', () => { { matchingBranch: true, }, + { + mainBranch: true, + }, + { + deployedOrReleased: true, + }, ], }); diff --git a/examples/v3/e2e/test/provider.spec.js b/examples/v3/e2e/test/provider.spec.js index 72fb6be68..abc384096 100644 --- a/examples/v3/e2e/test/provider.spec.js +++ b/examples/v3/e2e/test/provider.spec.js @@ -78,6 +78,12 @@ describe('Pact Verification', () => { { matchingBranch: true, }, + { + mainBranch: true, + }, + { + deployedOrReleased: true, + }, ], enablePending: true,