Exclude AppleDouble companions from test discovery (#11)

This commit is contained in:
warren committed 2026-10-10 14:17:08 -04:00
1 parent 812162320d
commit 768a3275ea
6 files changed
+527 -2

No files matched your search

+6 -1
View File
@@ -1,6 +1,6 @@
import { readFileSync } from "node:fs";
import path from "node:path";
import { defineConfig } from "vitest/config";
import { configDefaults, defineConfig } from "vitest/config";
import react from "@vitejs/plugin-react";
// @ts-expect-error Shared Node HTTP middleware also serves production bundles.
import { createBundledContentHandler } from "./server/bundled-content.mjs";
@@ -119,6 +119,11 @@ export default defineConfig(({ mode }) => {
test: {
environment: "node",
include: ["src/**/*.test.ts"],
exclude: [
...configDefaults.exclude,
"**/._*",
"**/._*/**",
],
maxWorkers: 4,
},
};