1
0
mirror of https://github.com/bitwarden/directory-connector synced 2025-12-21 10:43:16 +00:00
Files
directory-connector/jslib/electron/spec/services/electronLog.service.spec.ts
2022-04-28 16:41:07 +02:00

10 lines
351 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(expect.objectContaining({ isDev: true }) as any);
});
});