test: update tests
This commit is contained in:
+2
-23
@@ -1,30 +1,9 @@
|
||||
import { sveltekit } from "@sveltejs/kit/vite";
|
||||
import { defineConfig } from "vitest/config";
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [sveltekit()],
|
||||
test: {
|
||||
environment: "jsdom",
|
||||
globals: true,
|
||||
// Remove setupFiles temporarily to test basic functionality
|
||||
coverage: {
|
||||
provider: "v8",
|
||||
reporter: ["text", "json", "html"],
|
||||
exclude: ["node_modules/**", ".svelte-kit/**", "tests/**", "*.config.ts", "*.config.js", "static/**"],
|
||||
thresholds: {
|
||||
global: {
|
||||
branches: 80,
|
||||
functions: 80,
|
||||
lines: 80,
|
||||
statements: 80,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
resolve: {
|
||||
alias: {
|
||||
$lib: "/src/lib",
|
||||
$components: "/src/components",
|
||||
$stores: "/src/stores",
|
||||
$services: "/src/services",
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user