perf: optimize app startup and background lifecycles
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import { describe, expect, it } from 'vitest';
|
||||
import { shouldUseSecureWorksSquareSessionPersistence } from '@electron/services/works-square-session-persistence-policy';
|
||||
|
||||
describe('Works Square session persistence policy', () => {
|
||||
it('uses OS secure storage only for packaged applications', () => {
|
||||
expect(shouldUseSecureWorksSquareSessionPersistence(true)).toBe(true);
|
||||
expect(shouldUseSecureWorksSquareSessionPersistence(false)).toBe(false);
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user