test(app): keep Vitest environment setup typecheckable with Expo

This commit is contained in:
paseo-bot[bot]
2026-10-12 00:11:25 +02:00
parent aedc346367
commit 1e0b5d33fc
+1 -1
View File
@@ -4,7 +4,7 @@ import path from "path";
import fs from "fs";
// Set this before Vite resolves dependencies and Vitest starts its workers.
process.env.NODE_ENV = "test";
Object.assign(process.env, { NODE_ENV: "test" });
const appNodeModules = path.resolve(__dirname, "node_modules");
const rootNodeModules = path.resolve(__dirname, "../../node_modules");