1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-09 13:10:17 +00:00

Set isdev true

This commit is contained in:
Bernd Schoolmann
2025-11-26 17:38:11 +01:00
parent 44b552ad9b
commit 5793198d54
2 changed files with 1 additions and 2 deletions

View File

@@ -15,7 +15,6 @@ jest.mock("@bitwarden/desktop-napi", () => {
describe("ElectronLogMainService", () => {
it("sets dev based on electron method", () => {
globalThis.BIT_ENVIRONMENT = "development";
const logService = new ElectronLogMainService();
expect(logService).toEqual(expect.objectContaining({ isDev: true }) as any);
});

View File

@@ -20,7 +20,7 @@ export function invokeMenu(menu: RendererMenuItem[]) {
}
export function isDev() {
return BIT_ENVIRONMENT === "development";
return true;
}
export function isLinux() {