prop 'element' required for Combobox in unit tests after upgrading @twilio-paste/core #1819
-
Hey team! We are in the process of upgrading our After upgrading and running our unit tests we now get the following error in every component test that includes Combobox:
Could it be that the default Or has the element prop now become required for Combobox? I currently couldn't find anything about this change from Paste docs. Thank you in advance for your help! :) |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 5 replies
-
First question I have is, is core and icons the only Paste dependencies you have? If you have others listed they might be pinning combo box to an older version. The change to combo box was released in 10.10 of core https://github.com/twilio-labs/paste/releases/tag/%40twilio-paste%2Fcore%4010.10.0 You can run I will note that it's weird that Combobox was versioned as a new major. It should have been a patch. |
Beta Was this translation helpful? Give feedback.
-
Identified the fix and a PR is up. #1824 We'll have this out as a patch by the end of the day. |
Beta Was this translation helpful? Give feedback.
-
Paste Core 10.10.1 just went out. Let us know if that fixes your issues |
Beta Was this translation helpful? Give feedback.
-
Yes this upgrade fixed all the previous PropTypes errors! Thank you again! |
Beta Was this translation helpful? Give feedback.
Paste Core 10.10.1 just went out. Let us know if that fixes your issues