mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 15:53:27 +00:00
Move to libs
This commit is contained in:
9
libs/electron/spec/services/electronLog.service.spec.ts
Normal file
9
libs/electron/spec/services/electronLog.service.spec.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
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);
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user