Skip to content

Commit

Permalink
Fix vitest issue
Browse files Browse the repository at this point in the history
  • Loading branch information
colinhacks committed Jul 19, 2024
1 parent a0978d5 commit 768096b
Show file tree
Hide file tree
Showing 6 changed files with 193 additions and 874 deletions.
4 changes: 2 additions & 2 deletions packages/effect-plugin/vitest.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { defineConfig, mergeConfig } from "vitest/config";
import { defineProject, mergeConfig } from "vitest/config";
import rootConfig from "../../vitest.root.mjs";

const config: Record<string, any> = mergeConfig(rootConfig, defineConfig({}));
const config: Record<string, any> = mergeConfig(rootConfig, defineProject({}));
export default config;
3 changes: 2 additions & 1 deletion packages/zod/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"compilerOptions": {
"isolatedDeclarations": true,
"composite": true
}
},
"exclude": ["vitest.config.ts"]
}
1 change: 0 additions & 1 deletion packages/zod/vitest.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { defineProject, mergeConfig } from "vitest/config";
// @ts-ignore
import rootConfig from "../../vitest.root.mjs";

export default mergeConfig(rootConfig, defineProject({})) as object;
Loading

0 comments on commit 768096b

Please sign in to comment.