Files
loldle/web/vitest.config.js
tiennm99 3584d897c1 build(deps): upgrade web to SvelteKit 3 and vitest 5
Move the SvelteKit config into vite.config.js, replace the $lib alias with
#lib subpath imports (dropping the vitest alias), extend $app/tsconfig, and
pass asset() paths without a leading slash. Drop the @babel/core and js-yaml
overrides, which no longer match anything in the tree.
2026-10-03 13:12:03 +07:00

11 lines
287 B
JavaScript

import { defineConfig } from "vitest/config";
// #lib/* resolves through package.json "imports", so no alias is needed here.
export default defineConfig({
test: {
environment: "node",
setupFiles: ["./test/setup-local-storage.js"],
include: ["test/**/*.test.js"],
},
});