Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
it('should passes when used properly', () => {
startLocationUpdatesAsync('taskName', {
accuracy: Accuracy.Balanced,
activityType: ActivityType.Fitness,
timeInterval: 1000,
});
startLocationUpdatesAsync('taskName', {
foregroundService: {
notificationTitle: 'str',
notificationBody: 'str',
},
});
startLocationUpdatesAsync('taskName', {
foregroundService: {
notificationTitle: 'str',
notificationBody: 'str',
notificationColor: 'red',