import { describe, expect, test } from 'vitest'; import { resolveMobileShellHostVersion } from './runtime'; describe('resolveMobileShellHostVersion', () => { test('uses Expo runtime config version when available', () => { expect(resolveMobileShellHostVersion('0.2.3')).toBe('0.2.3'); }); test('falls back when Expo runtime config version is unavailable', () => { expect(resolveMobileShellHostVersion(null)).toBe('0.1.0'); expect(resolveMobileShellHostVersion(' ')).toBe('0.1.0'); }); });