-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
refactor: Feature flags getter #22015
Conversation
Codecov Report
@@ Coverage Diff @@
## master #22015 +/- ##
=======================================
Coverage 65.76% 65.77%
=======================================
Files 1813 1813
Lines 69437 69423 -14
Branches 7450 7448 -2
=======================================
- Hits 45667 45662 -5
+ Misses 21850 21841 -9
Partials 1920 1920
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some code style opinions, LMKWYT
superset-frontend/packages/superset-ui-core/test/utils/featureFlag.test.ts
Outdated
Show resolved
Hide resolved
superset-frontend/packages/superset-ui-core/test/utils/featureFlag.test.ts
Outdated
Show resolved
Hide resolved
superset-frontend/packages/superset-ui-core/test/utils/featureFlag.test.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
SUMMARY
The Feature flags getter has should be returned an explicit boolean value. The unit test makes a minor refactor.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TESTING INSTRUCTIONS
ADDITIONAL INFORMATION