Skip to content

Commit c7ebd25

Browse files
committed
path exclude better i guess
1 parent 84daecc commit c7ebd25

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

packages/core/bunfig.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
[test]
2-
root = "src"
2+
pathExcludePatterns = [
3+
"dist-test/**"
4+
]

packages/react/bunfig.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
[test]
2-
root = "src"
2+
pathIgnorePatterns = [
3+
"dist-test/**"
4+
]

packages/react/vitest.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ export default defineConfig({
1212
environment: "node",
1313
resolveSnapshotPath: (testPath, ext) =>
1414
join(dirname(testPath), "__snapshots__", `${basename(testPath)}.nodejs${ext}`),
15-
root: "src",
15+
exclude: ["node_modules/**", "dist-test/**"]
1616
},
1717
})

0 commit comments

Comments
 (0)