diff --git a/backend/src/modules/locations/driver-location.service.spec.ts b/backend/src/modules/locations/driver-location.service.spec.ts index 72816d6..9478ea6 100644 --- a/backend/src/modules/locations/driver-location.service.spec.ts +++ b/backend/src/modules/locations/driver-location.service.spec.ts @@ -58,6 +58,7 @@ describe('DriverLocationService', () => { await svc.update(TENANT, DRIVER, CLASS, BASE); const tracksBefore = await redis.llen('loc:tracks'); matching.setPosition.mockClear(); + geofence.processLocation.mockClear(); // النبضة الأولى ذات دلالة وقد نادته // إزاحة مترين — تحت عتبة 10م const r = await svc.update(TENANT, DRIVER, CLASS, {