-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbunfig.toml
More file actions
36 lines (30 loc) · 711 Bytes
/
bunfig.toml
File metadata and controls
36 lines (30 loc) · 711 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
[install]
# Install settings
registry = "https://registry.npmjs.org/"
# Use exact versions in lockfile for reproducible builds
lockfile = "bun.lock"
[env]
# Environment variables for tests and runtime
NODE_ENV = "test"
[test]
# Test discovery and execution
root = "tests"
timeout = 10000
# Coverage configuration
coverage = true
coverageReporter = ["text", "lcov"]
coverageDir = "./coverage"
coverageSkipTestFiles = true
# Coverage path ignore patterns
coveragePathIgnorePatterns = [
"**/*.test.ts",
"**/*.spec.ts",
"**/node_modules/**"
]
# Test environment
env = "node"
# Use Bun's test runner (default)
run = "bun"
[define]
# Global constants for build/runtime
"process.env.NODE_ENV" = "\"test\""