phase 1
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
import { defineConfig, mergeConfig } from "vitest/config";
|
||||
import viteConfig from "./vite.config";
|
||||
|
||||
export default mergeConfig(
|
||||
viteConfig,
|
||||
defineConfig({
|
||||
resolve: {
|
||||
// Force the browser entry of Svelte so `mount` is available in jsdom.
|
||||
conditions: ["browser"],
|
||||
},
|
||||
test: {
|
||||
environment: "jsdom",
|
||||
include: ["tests/**/*.test.ts"],
|
||||
globals: true,
|
||||
},
|
||||
}),
|
||||
);
|
||||
Reference in New Issue
Block a user