Skip to content

Commit fb88e58

Browse files
morinokamiclaude
andcommitted
test(migrations): start the Vitest server checks without a file watcher
The unit test that starts Vite dev servers to check where migrations apply needs no file watching. Pass `watch: null`, as the other unit tests that start a dev server do, so no native file watcher runs in the unit project's worker threads. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 2e38ed6 commit fb88e58

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/void/test/unit/plugin-migration.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ describe("migrationPlugin in Vitest's server", () => {
134134
configFile: false,
135135
logLevel: 'silent',
136136
mode,
137-
server: { middlewareMode: true, ws: false },
137+
server: { middlewareMode: true, ws: false, watch: null },
138138
plugins,
139139
});
140140
await server.close();

0 commit comments

Comments
 (0)