airqo-platform / airqo-platform/AirQo-api

Enhance entity status validation and add test coverage for isEntityActive function

Open
#3,898 0 comments 0 reactions 1 assignee Claimed by @Baalmart View on GitHub
Dominant language
JavaScript
Stars
26
Forks
24
Avg merge
5h 36m
Merged PRs (30d)
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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.