mirror of
https://github.com/bitwarden/browser
synced 2024-12-18 20:33:00 +01:00
10 lines
356 B
TypeScript
10 lines
356 B
TypeScript
import { ElectronLogService } from "@bitwarden/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);
|
|
});
|
|
});
|