Added tests for JsonToCsv and CronTab util functions #1512

Closed
opened 2026-04-05 16:27:51 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @dulajkavinda on 11/7/2023

Title of this pull request?

Added tests for JsonToCsv and CronTab utils functions

Small Description?

  • added tests for JsonToCsv util function
  • added tests for CronTab util funtion
  • handled errors for getNextExecutionTime

Pull Request Checklist:

  • Please make sure all jobs pass before requesting a review.
  • Put closes #XXXX in your comment to auto-close the issue that your PR fixes (if such).
  • Have you lint your code locally before submission?
  • Did you write tests where appropriate?

Screenshots (if appropriate):

*Originally created by @dulajkavinda on 11/7/2023* ### Title of this pull request? Added tests for JsonToCsv and CronTab utils functions ### Small Description? - added tests for JsonToCsv util function - added tests for CronTab util funtion - handled errors for getNextExecutionTime ### Pull Request Checklist: - [x] Please make sure all jobs pass before requesting a review. - [ ] Put `closes #XXXX` in your comment to auto-close the issue that your PR fixes (if such). - [x] Have you lint your code locally before submission? - [x] Did you write tests where appropriate? ### Related Issue? ### Screenshots (if appropriate):
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/oneuptime#1512