Skip to content

Improve config testing #551

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Sweetdevil144
Copy link
Contributor

Add test cases for config.test.ts for isFabloVersionSupported tag and versionsSupportingRaft

Signed-off-by: Abhinav Pandey <abhinavpandey1230@gmail.com>
@Sweetdevil144 Sweetdevil144 changed the title Improve config.test.ts Improve config testing May 10, 2025
Comment on lines +22 to +26
expect(versionsSupportingRaft("1.4.3")).toBeTruthy();
expect(versionsSupportingRaft("1.4.4")).toBeTruthy();
expect(versionsSupportingRaft("2.0.0")).toBeTruthy();
expect(versionsSupportingRaft("1.4.2")).toBeFalsy();
expect(versionsSupportingRaft("1.3.0")).toBeFalsy();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fablo actually dropped support for versions below 2.0, and all versions support RAFT, so this test should be reworked, and also our checks in ./config file

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