-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbunfig.toml
More file actions
22 lines (20 loc) · 1.02 KB
/
Copy pathbunfig.toml
File metadata and controls
22 lines (20 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
[install]
# Default registry; override locally via env if needed
registry = "https://registry.npmjs.org"
# Supply-chain hardening: only install package versions published at least 7 days ago.
# Bun filters too-new versions out at resolution time. Override per-package via
# `minimumReleaseAgeExcludes` if a fresh release is required.
# 7 days = 604800 seconds.
minimumReleaseAge = 604800
minimumReleaseAgeExcludes = []
[test]
preload = ["./src/test/setup.bun.ts"]
# React component tests (*.test.tsx) run under Vitest (happy-dom + `vi` globals),
# not Bun's runner. Ignore them here so a bare `bun test` doesn't try to execute
# them and fail with "document is not defined" / "describe is not defined".
# Those tests run via `vitest run` (see the `test` script in package.json).
pathIgnorePatterns = ["**/*.test.tsx"]
# Enable coverage with `bun test --coverage` (or set `coverage = true` to make
# it the default). Reporters: "text" for stdout summary, "lcov" for coverage/lcov.info.
coverageReporter = ["text", "lcov"]
coverageDir = "coverage"