mirror of
https://github.com/honojs/hono.git
synced 2024-12-01 11:51:01 +01:00
8cc8a05c89
* Output coverage per each test * Collect coverage * Exclude test-only files * update comment * exclude types * Add config * Update bun comment * Generate coverage in Deno
14 lines
446 B
YAML
14 lines
446 B
YAML
# Edit "test.coverage.exclude" option in vitest.config.ts to exclude specific files from coverage reports.
|
|
# We can also use "ignore" option in codecov.yml, but it is not recognized by vitest, so results may differ on local.
|
|
|
|
coverage:
|
|
status:
|
|
patch:
|
|
default:
|
|
target: 80%
|
|
informational: true # Don't fail the build even if coverage is below target
|
|
project:
|
|
default:
|
|
target: 75%
|
|
threshold: 1%
|