airqo-platform / airqo-platform/AirQo-api
Consider stubbing logger methods instead of console.log in tests
未關閉
- 主要語言
- JavaScript
- 星號
- 26
- 分支
- 24
- 平均合併
- 5 小時 36 分鐘
- 30 天內合併 PR
- 81
描述
As suggested by [Baalmart](https://github.com/Baalmart) in [this comment](https://github.com/airqo-platform/AirQo-api/pull/3532#discussion_r1779453500), we should consider stubbing the logger's `info` method (`log4js.getLogger().info`) instead of `console.log` in our tests to ensure consistency and accurate reflection of the application's behavior.
PR: https://github.com/airqo-platform/AirQo-api/pull/3532
貢獻指南
評估
這個 Issue 還沒有評估資料。