diff --git a/config.js b/config.js index 56e31aa..4134004 100644 --- a/config.js +++ b/config.js @@ -7,7 +7,7 @@ const path = require("path"); * Indicates whether the application is running in development mode. * Determined by Electron's packaging state. */ -const devMode = !app.isPackaged; +const devMode = process.env.NODE_ENV === "test" || !app?.isPackaged; /** * Resolves the configuration file path depending on runtime environment.