Skip to content

Commit

Permalink
fix(json-reporter): add a default value to the constructor (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
antoinerey authored and pi0 committed Nov 14, 2018
1 parent 190fd83 commit c59db36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/reporters/json.js
@@ -1,5 +1,5 @@
export default class JSONReporter {
constructor ({ stream }) {
constructor ({ stream } = {}) {
this.stream = stream || process.stdout
}

Expand Down

0 comments on commit c59db36

Please sign in to comment.