airqo-platform / airqo-platform/AirQo-api
Add unit tests for function
未關閉
- 主要語言
- JavaScript
- 星號
- 26
- 分支
- 24
- 平均合併
- 5 小時 36 分鐘
- 30 天內合併 PR
- 81
描述
The `isEntityActive` function determines if an entity is active based on its `lastActive` timestamp. To ensure its correctness, especially with time calculations, we should add unit tests.
Related PR: https://github.com/airqo-platform/AirQo-api/pull/3473
Comment: https://github.com/airqo-platform/AirQo-api/pull/3473#discussion_r1765798562
Requested by @Baalmart.
貢獻指南
評估
這個 Issue 還沒有評估資料。