diff --git a/src/migrations/user-store/file-name-migration.ts b/src/migrations/user-store/file-name-migration.ts index fc7784d2c2..122cd78102 100644 --- a/src/migrations/user-store/file-name-migration.ts +++ b/src/migrations/user-store/file-name-migration.ts @@ -22,14 +22,8 @@ import fse from "fs-extra"; import { app, remote } from "electron"; import path from "path"; -import { isTestEnv } from "../../common/vars"; export function fileNameMigration() { - if (isTestEnv) { - // hack: to make unit testing easier just ignore the following code - return; - } - const userDataPath = (app || remote.app).getPath("userData"); const configJsonPath = path.join(userDataPath, "config.json"); const lensUserStoreJsonPath = path.join(userDataPath, "lens-user-store.json");