From 22d76642b7ae973bc076ce88676b77ff0c1fec67 Mon Sep 17 00:00:00 2001 From: pheralb Date: Thu, 23 Jun 2022 17:20:49 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9A=92=EF=B8=8F=20Initial=20vitest=20config.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vitest.config.ts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 vitest.config.ts diff --git a/vitest.config.ts b/vitest.config.ts new file mode 100644 index 0000000..8f06e8c --- /dev/null +++ b/vitest.config.ts @@ -0,0 +1,15 @@ +import * as path from "path"; +import { defineConfig } from "vitest/config"; +import react from "@vitejs/plugin-react"; + +export default defineConfig({ + plugins: [react()], + test: { + environment: "jsdom", + }, + resolve: { + alias: { + "@": path.resolve(__dirname, "./src"), + }, + }, +});