import { describe, expect, it } from 'vitest'; import { getNativeWindowMaterialOptions } from '../../electron/main/window-material'; describe('native window material', () => { it('uses the same opaque light surface on macOS', () => { expect(getNativeWindowMaterialOptions('darwin')).toEqual({ backgroundColor: '#FFFFFF', transparent: false, visualEffectState: 'inactive', }); }); it.each(['win32', 'linux', 'freebsd'] as const)('uses the opaque fallback on %s', (platform) => { expect(getNativeWindowMaterialOptions(platform)).toEqual({ backgroundColor: '#FFFFFF', transparent: false, }); }); });