airqo-platform / airqo-platform/AirQo-api

Enhance entity status validation and add test coverage for isEntityActive function

Đang mở
#3,898 0 bình luận 0 reaction 1 người được giao Được @Baalmart nhận Xem trên GitHub
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

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.