Skip to content

Commit c59db36

Browse files
antoinereypi0
authored andcommitted
fix(json-reporter): add a default value to the constructor (#33)
1 parent 190fd83 commit c59db36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/reporters/json.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export default class JSONReporter {
2-
constructor ({ stream }) {
2+
constructor ({ stream } = {}) {
33
this.stream = stream || process.stdout
44
}
55

0 commit comments

Comments
 (0)