@@ -1,6 +1,11 @@
{
"$schema": "http://json.schemastore.org/tsconfig",
"extends": "../../tsconfig.base.json",
+ "compilerOptions": {
+ "types": [
+ "vitest/globals"
+ ],
+ },
"include": [
"src"
],
@@ -0,0 +1,13 @@
+import tsconfigPaths from 'vite-tsconfig-paths';
+import { defineConfig } from 'vitest/config';
+
+export default defineConfig({
+ plugins: [
+ tsconfigPaths(),
+ test: {
+ environment: 'node',
+ clearMocks: true,
+ globals: true,
+});