mirror of
https://github.com/bitwarden/browser.git
synced 2025-01-05 18:47:52 +01:00
10 lines
375 B
TypeScript
10 lines
375 B
TypeScript
|
import { ElectronLogService } from '../../../src/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);
|
||
|
});
|
||
|
});
|