UNPKG

expo-srcpush

Version:

Expo module for Source Push, a service for over-the-air updates in React Native applications.

19 lines (16 loc) 835 B
import * as androidExports from '../src/android'; import * as iosExports from '../src/ios'; describe('Android index exports', () => { it('should export all expected android functions', () => { expect(typeof androidExports.withAndroidBuildscriptDependency).toBe('function'); expect(typeof androidExports.withAndroidSettingsDependency).toBe('function'); expect(typeof androidExports.withAndroidStringsDependency).toBe('function'); expect(typeof androidExports.withAndroidMainApplicationDependency).toBe('function'); }); }); describe('iOS index exports', () => { it('should export all expected ios functions', () => { expect(typeof iosExports.withIosBuildscriptDependency).toBe('function'); expect(typeof iosExports.withIosAppDelegateDependency).toBe('function'); }); });