Skip to content

Fix bug in getElementType logic #525

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 9 commits into from
May 20, 2024
Prev Previous commit
Update tests/utils/get-element-type.mjs
  • Loading branch information
khiga8 authored May 16, 2024
commit 3979a24c9416d5266b1a27907896af9b9b6e8323
1 change: 0 additions & 1 deletion tests/utils/get-element-type.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ describe('getElementType', function () {
})

it('returns raw type when polymorphic prop is set to non-literal expression even with component setting', function () {
// <Box as={isNavigationOpen ? 'generic' : 'navigation'} />
const setting = mockSetting({
Box: 'div',
})
Expand Down