fix: resolve pre-existing test failures in auth, steam, and auto-pin tests

This commit is contained in:
2026-05-25 19:20:54 +08:00
parent e44a85fe94
commit 86fc0c2999
5 changed files with 79 additions and 15 deletions
+7
View File
@@ -6,6 +6,13 @@ export default defineConfig({
environment: "node",
globals: true,
setupFiles: [],
// drizzle-orm ships ESM files that only contain sourceMappingURL references
// (e.g. operations.js has no actual re-exports), which breaks named-export
// resolution between test files. Inlining lets Vite process the CJS
// fallback and provide proper named exports.
deps: {
inline: ["drizzle-orm", "drizzle-orm/pg-core", "drizzle-orm/node-postgres"],
},
},
resolve: {
alias: {