[bun:test] Implement test.root configuration option

This commit is contained in:
Jarred Sumner
2023-01-09 08:28:37 -08:00
parent ca58556c54
commit 30b10d5fb1
3 changed files with 21 additions and 0 deletions

11
bunfig.toml Normal file
View File

@@ -0,0 +1,11 @@
[test]
# Large monorepos (like Bun) may want to specify the test directory more specifically
# By default, `bun wiptest` scans every single folder recurisvely which, if you
# have a gigantic submodule (like WebKit), it has to do lots of directory
# traversals
#
# Instead, we can just make it scan only the test directory for Bun's runtime tests
root = "test/bun.js"