chore(deps): update dependency vite-tsconfig-paths to v5 (#934)
* chore(deps): update dependency vite-tsconfig-paths to v5 * fix: esm only issue --------- Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com> Co-authored-by: Meier Lukas <meierschlumpf@gmail.com>
This commit is contained in:
committed by
GitHub
parent
9258c397e0
commit
013c0c0eeb
26
vitest.config.mts
Normal file
26
vitest.config.mts
Normal file
@@ -0,0 +1,26 @@
|
||||
import react from "@vitejs/plugin-react";
|
||||
import tsconfigPaths from "vite-tsconfig-paths";
|
||||
import { configDefaults, defineConfig } from "vitest/config";
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [react(), tsconfigPaths()],
|
||||
test: {
|
||||
setupFiles: ["./vitest.setup.ts"],
|
||||
environment: "jsdom",
|
||||
include: ["**/*.spec.ts"],
|
||||
poolOptions: {
|
||||
threads: {
|
||||
singleThread: false,
|
||||
},
|
||||
},
|
||||
coverage: {
|
||||
provider: "v8",
|
||||
reporter: ["html", "json-summary", "json"],
|
||||
all: true,
|
||||
exclude: ["apps/nextjs/.next/"],
|
||||
reportOnFailure: true
|
||||
},
|
||||
|
||||
exclude: [...configDefaults.exclude, "apps/nextjs/.next"],
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user