1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-03 13:33:32 +01:00
bitwarden-browser/libs/electron/spec/services/electronLog.service.spec.ts

10 lines
356 B
TypeScript
Raw Normal View History

2022-06-14 17:10:53 +02:00
import { ElectronLogService } from "@bitwarden/electron/services/electronLog.service";
2021-12-16 13:36:21 +01:00
describe("ElectronLogService", () => {
it("sets dev based on electron method", () => {
process.env.ELECTRON_IS_DEV = "1";
const logService = new ElectronLogService();
expect(logService).toEqual(expect.objectContaining({ isDev: true }) as any);
2021-12-16 13:36:21 +01:00
});
});