UNPKG

react-native-background-geolocation

Version:

The most sophisticated cross-platform background location-tracking & geofencing module with battery-conscious motion-detection intelligence

7 lines (5 loc) 223 B
const BG = require('../src/index.js').default; test('ready resolves and returns state', async () => { const state = await BG.ready({ logger: { logLevel: BG.LogLevel.Verbose } }); expect(state.enabled).toBe(false); });