fix: node tests
This commit is contained in:
+2
-11
@@ -1,19 +1,10 @@
|
||||
import { fileURLToPath } from "node:url";
|
||||
import { defineConfig } from "vitest/config";
|
||||
import tsconfigPaths from "vite-tsconfig-paths";
|
||||
|
||||
export default defineConfig({
|
||||
resolve: {
|
||||
alias: {
|
||||
"bknd/adapter/sqlite": fileURLToPath(new URL("./src/adapter/sqlite/node.ts", import.meta.url)),
|
||||
},
|
||||
resolve: {
|
||||
tsconfigPaths: true,
|
||||
},
|
||||
plugins: [
|
||||
tsconfigPaths({
|
||||
root: ".",
|
||||
ignoreConfigErrors: true,
|
||||
}) as any,
|
||||
],
|
||||
test: {
|
||||
include: ["**/*.vi-test.ts", "**/*.vitest.ts"],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user