Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add validate cron from string #2306

Closed
wants to merge 2 commits into from
Closed

feat: add validate cron from string #2306

wants to merge 2 commits into from

Conversation

joserafaelSH
Copy link

feat(cronValidator): checks whether an expression made up of digits and allowed characters with 6 fields is valid. The input is a string that may or may not contain the start and end parentheses and the return is a boolean confirming whether the cron is valid or not.

Checklist

  • PR contains only changes related; no stray files, etc.
  • [] README updated (where applicable)
  • Tests written (where applicable)
  • References provided in PR (where applicable)

@codecov
Copy link

codecov bot commented Oct 3, 2023

Codecov Report

Attention: 53 lines in your changes are missing coverage. Please review.

Comparison is base (b958bd7) 99.95% compared to head (a3909c5) 97.92%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2306      +/-   ##
==========================================
- Coverage   99.95%   97.92%   -2.04%     
==========================================
  Files         107      108       +1     
  Lines        2454     2604     +150     
  Branches      619      676      +57     
==========================================
+ Hits         2453     2550      +97     
- Misses          0       36      +36     
- Partials        1       18      +17     
Files Coverage Δ
src/index.js 100.00% <100.00%> (ø)
src/lib/isCron.js 65.58% <65.58%> (ø)

... and 2 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@joserafaelSH joserafaelSH closed this by deleting the head repository Jul 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant