airqo-platform / airqo-platform/AirQo-api
Enhance entity status validation and add test coverage for isEntityActive function
Ouverte
- Langage dominant
- JavaScript
- Étoiles
- 26
- Forks
- 24
- Merge moyen
- 5 h 36 min
- PR mergées (30 j)
- 81
Description
As discussed in [PR #3893](https://github.com/airqo-platform/AirQo-api/pull/3893), the `isEntityActive` function requires input validation for the time parameter, test coverage for edge cases, and configuration flexibility for the threshold. Please refer to the comment [here](https://github.com/airqo-platform/AirQo-api/pull/3893#discussion_r1855639946) for more details.\n\n**Original Comment by @Baalmart:**\n> Create a Github issue for this.
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.