Skip to content

Commit

Permalink
fix(defaults): Set LogLevel to warn by default (previously was error)
Browse files Browse the repository at this point in the history
  • Loading branch information
TimothyJones committed May 13, 2020
1 parent 788b1da commit 83a29eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ Jest-Pact sets some helpful defaults for you. You can override any of these by e
- `log` is set so that log files are written to /pact/logs, and named <consumer>-<provider>-mockserver-interaction.log
- `dir` is set so that pact files are written to /pact/pacts
- `logLevel` is set to error
- `logLevel` is set to warn
- `timeout` is 30,000 milliseconds (30 seconds)
- `pactfileWriteMode` is set to "update"
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const applyDefaults = (options: JestPactOptions) => ({
),
dir: path.resolve(process.cwd(), 'pact/pacts'),
spec: 2,
logLevel: 'error' as LogLevel,
logLevel: 'warn' as LogLevel,
pactfileWriteMode: 'update' as pact.PactfileWriteMode,
...options,
});
Expand Down

0 comments on commit 83a29eb

Please sign in to comment.