Skip to content

Update test suite #94

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

Merged
merged 1 commit into from
Feb 12, 2025
Merged

Update test suite #94

merged 1 commit into from
Feb 12, 2025

Conversation

zhiyuanliang-ms
Copy link
Contributor

Why this PR?

Add more testcases & remove unused code

Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

Comments suppressed due to low confidence (2)

src/feature-management/test/featureManager.test.ts:215

  • The 'requirement_type' for 'AnyFeature' is commented out, which might lead to unexpected behavior. Uncomment or explicitly set the 'requirement_type' to ensure the test case is valid.
// "requirement_type": "Any",

src/feature-management/test/variant.test.ts:88

  • The error message should specify that the 'from' and 'to' values must be numbers between 0 and 100.
await expect(featureManager.getVariant(Features.VariantFeatureInvalidFromTo, context))

@zhiyuanliang-ms zhiyuanliang-ms merged commit 00794c6 into main Feb 12, 2025
5 checks passed
@zhiyuanliang-ms zhiyuanliang-ms deleted the zhiyuanliang/update-test-case branch February 12, 2025 06:07
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