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); }); });