mirror of
https://github.com/bitwarden/browser
synced 2026-02-09 13:10:17 +00:00
Set isdev true
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
||||
@@ -20,7 +20,7 @@ export function invokeMenu(menu: RendererMenuItem[]) {
|
||||
}
|
||||
|
||||
export function isDev() {
|
||||
return BIT_ENVIRONMENT === "development";
|
||||
return true;
|
||||
}
|
||||
|
||||
export function isLinux() {
|
||||
|
||||
Reference in New Issue
Block a user