Skip to content

Commit

Permalink
fix: fix vitest config
Browse files Browse the repository at this point in the history
  • Loading branch information
TinsFox committed Sep 20, 2024
1 parent 4afeb8f commit 7b1b466
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import { configDefaults, defineConfig } from "vitest/config"

import viteConfig from "./vite.config"

export default mergeConfig(
viteConfig,
export default defineConfig((configEnv) => mergeConfig(
viteConfig(configEnv),
defineConfig({
test: {
environment: "jsdom",
Expand All @@ -15,4 +15,4 @@ export default mergeConfig(
setupFiles: ["./__test__/setup.ts"],
},
}),
)
))

0 comments on commit 7b1b466

Please sign in to comment.