Skip to content

Commit

Permalink
chore: remove hard coded log level from v4 matchers test
Browse files Browse the repository at this point in the history
  • Loading branch information
mefellows committed Apr 26, 2024
1 parent c3afdfa commit aabba64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/v4/matchers/provider.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Verifier } from '@pact-foundation/pact';
import { LogLevel, Verifier } from '@pact-foundation/pact';
import { after } from 'mocha';

const express = require('express');
Expand Down Expand Up @@ -40,7 +40,7 @@ describe('V4 Matchers', () => {
const pact = new Verifier({
pactUrls: ['./pacts/myconsumer-myprovider.json'],
providerBaseUrl: 'http://localhost:8080',
logLevel: 'trace',
logLevel: (process.env.LOG_LEVEL as LogLevel) || 'trace',
});
it('verifies the pact', () => pact.verifyProvider());
});
Expand Down

0 comments on commit aabba64

Please sign in to comment.