import { describe, expect, test } from 'vitest'; import { MOBILE_SHELL_SAFE_AREA_EDGES } from './safeArea'; describe('mobile shell safe area', () => { test('protects the WebView from every device edge', () => { expect(MOBILE_SHELL_SAFE_AREA_EDGES).toEqual([ 'top', 'right', 'bottom', 'left', ]); }); test('keeps the edge list fixed for shell layout usage', () => { expect(MOBILE_SHELL_SAFE_AREA_EDGES).toHaveLength(4); expect([...MOBILE_SHELL_SAFE_AREA_EDGES].sort()).toEqual([ 'bottom', 'left', 'right', 'top', ]); }); });