airqo-platform / airqo-platform/AirQo-api
Enhance entity status validation and add test coverage for isEntityActive function
Đang mở
- Ngôn ngữ chính
- JavaScript
- Star
- 26
- Fork
- 24
- Merge trung bình
- 5 giờ 36 phút
- Pull request đã merge (30 ngày)
- 81
Mô tả
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.
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.