Skip to content

test(core): check the schedule data returned via optionsParser - #102

Merged
bnb merged 2 commits into
mainfrom
bnb/core-schedule-tests
Oct 21, 2026
Merged

bnb merged 2 commits into
mainfrom
bnb/core-schedule-tests

Conversation

@botandbang

Copy link
Copy Markdown
Contributor

The two tests in core/test/schedule.js under "schedule should work with optionsParser" assigned data and never checked it, so they passed no matter what schedule() returned. Both now call check(data) like the tests above them. With check deliberately broken, all four schedule tests fail; before, the two optionsParser tests still passed.

@bnb
bnb merged commit 6b27df9 into main Oct 21, 2026
18 checks passed
@bnb
bnb deleted the bnb/core-schedule-tests branch October 21, 2026 00:00
@github-actions github-actions Bot mentioned this pull request Oct 20, 2026
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.

2 participants