1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-27 12:36:14 +01:00
bitwarden-browser/spec/electron/services/electronLog.service.spec.ts
2021-12-16 13:36:21 +01:00

10 lines
352 B
TypeScript

import { ElectronLogService } from "jslib-electron/services/electronLog.service";
describe("ElectronLogService", () => {
it("sets dev based on electron method", () => {
process.env.ELECTRON_IS_DEV = "1";
const logService = new ElectronLogService();
expect(logService).toEqual(jasmine.objectContaining({ isDev: true }) as any);
});
});