Skip to content

Commit 4299e6d

Browse files
committed
exclude dirs from vitest coverage
1 parent 17ac7a9 commit 4299e6d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

vitest.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@
33
// This software is released under the MIT License.
44
// https://opensource.org/licenses/MIT
55

6-
import { defineConfig } from "vitest/config";
6+
import { configDefaults, defineConfig } from "vitest/config";
77

88
export default defineConfig({
99
test: {
1010
globals: true,
1111
environment: "happy-dom", // jsdom does not work for some reason
12+
exclude: [...configDefaults.exclude, "functions", "remotion", "dist"],
1213
},
1314
});

0 commit comments

Comments
 (0)