feat: add testing library dependencies and implement component tests
This commit is contained in:
committed by
Loic Coenen (aider)
parent
826069e8dd
commit
46168a70a8
@@ -1,7 +1,13 @@
|
||||
/// <reference types="vitest" />
|
||||
import { defineConfig } from "vite";
|
||||
import react from "@vitejs/plugin-react";
|
||||
|
||||
// https://vite.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [react()],
|
||||
test: {
|
||||
globals: true,
|
||||
environment: "jsdom",
|
||||
setupFiles: "./src/setupTests.ts",
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user