Skip to content

Commit 839467c

Browse files
committed
update bunfig schema
oven-sh/bun@1ccc13e
1 parent 9b03146 commit 839467c

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

src/schemas/json/bunfig.json

+16
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,22 @@
152152
"description": "Whether to skip test files when computing coverage statistics. Default false\nhttps://bun.sh/docs/runtime/bunfig#test-coverageskiptestfiles",
153153
"type": "boolean",
154154
"default": false
155+
},
156+
"coverageReporter": {
157+
"$comment": "https://bun.sh/docs/runtime/bunfig#test-coveragereporter",
158+
"description": "By default, coverage reports will be printed to the console. For persistent code coverage reports in CI environments and for other tools use `lcov`\nhttps://bun.sh/docs/runtime/bunfig#test-coveragereporter",
159+
"type": "array",
160+
"items": {
161+
"type": "string",
162+
"enum": ["text", "lcov"]
163+
},
164+
"default": ["text"]
165+
},
166+
"coverageDir": {
167+
"$comment": "https://bun.sh/docs/runtime/bunfig#test-coveragedir",
168+
"description": "Set path where coverage reports will be saved. Please notice, that it works only for persistent `coverageReporter` like `lcov`\nhttps://bun.sh/docs/runtime/bunfig#test-coveragedir",
169+
"type": "string",
170+
"default": "coverage"
155171
}
156172
}
157173
},

0 commit comments

Comments
 (0)