-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbunfig.toml
More file actions
36 lines (29 loc) · 806 Bytes
/
Copy pathbunfig.toml
File metadata and controls
36 lines (29 loc) · 806 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
[test]
# Setup file to run before tests
preload = ["./test-setup.ts"]
# Test environment configuration
env = "test"
# Timeout for tests (in milliseconds)
timeout = 10000
# Coverage configuration
coverage = false
# Mock modules for better test isolation
mock = {
"firebase" = "empty",
"firebase/app" = "empty",
"firebase/auth" = "empty",
"firebase/firestore" = "empty",
"lit" = "empty",
"lit-element" = "empty",
"lit-html" = "empty",
"xinjs" = "empty",
"@use-gesture/vanilla" = "empty"
}
# Test file patterns
root = "."
include = ["**/*.test.ts", "**/*.test.js", "**/*.spec.ts", "**/*.spec.js"]
exclude = ["**/node_modules/**", "**/dist/**", "**/build/**", "**/chart-api.test.ts"]
# Disable hot module reloading in tests
hot = false
# Use faster resolver for tests
resolver = "fast"