-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Expand file tree
/
Copy pathbunfig.toml
More file actions
20 lines (19 loc) · 871 Bytes
/
bunfig.toml
File metadata and controls
20 lines (19 loc) · 871 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[test]
# Large monorepos (like Bun) may want to specify the test directory more specifically
# By default, `bun test` scans every single folder recursively which, if you
# have a gigantic submodule (like WebKit), requires lots of directory
# traversals
#
# Instead, we can only scan the test directory for Bun's runtime tests
root = "test"
preload = "./test/preload.ts"
[install]
linker = "isolated"
# The CI test runner points BUN_INSTALL_CACHE_DIR at a per-call tmpdir and
# deletes it between the root and test/ installs. With the global store
# enabled, `node_modules/.bun/<pkg>` is an absolute symlink into that
# now-deleted cache, so `test/`'s `file:../node_modules/react` dep dangles.
# The feature is exercised by test/cli/install/isolated-install.test.ts.
globalStore = false
minimumReleaseAge = 259200 # three days
minimumReleaseAgeExcludes = ["typescript"]