🐛 Fix vitest cjs warning

This commit is contained in:
Luke Vella 2024-06-09 12:23:43 +01:00
parent 47619bc450
commit 4a59e44454
2 changed files with 7 additions and 2 deletions

View file

@ -8,6 +8,12 @@
},
"strictNullChecks": true,
},
"include": ["**/*.ts", "**/*.tsx", "**/*.js", ".next/types/**/*.ts"],
"include": [
"**/*.ts",
"**/*.tsx",
"**/*.js",
".next/types/**/*.ts",
"vitest.config.mts",
],
"exclude": ["node_modules", ".next/**/*"],
}

View file

@ -1,4 +1,3 @@
/// <reference types="vitest" />
import path from "path";
import { defineConfig } from "vitest/config";