eui
eui copied to clipboard
[React 18] EuiOverlayMask component skips non-string property test case
Current behavior
<EuiOverlayMask> test suite is skipping the throws if a non-string property value is passed test case when testing on React 18 runtime due to an unexpected error happening somewhere in Jest or RTL.
Expected behavior
<EuiOverlayMask> should test for non-string property throw.
Mentioning Tomasz's comment for completeness:
I tried wrapping
<EuiOverlayMask aria-hidden={true} />in class component withcomponentDidCatch, rendering it differently, moving thethrowstatement outsideuseEffectand none seemed to help.
👋 Hi there - this issue hasn't had any activity in 6 months. If the EUI team has not explicitly expressed that this is something on our roadmap, it's unlikely that we'll pick this issue up. We would sincerely appreciate a PR/community contribution if this is something that matters to you! If not, and there is no further activity on this issue for another 6 months (i.e. it's stale for over a year), the issue will be auto-closed.
👋 Hi there - this issue hasn't had any activity in 6 months. If the EUI team has not explicitly expressed that this is something on our roadmap, it's unlikely that we'll pick this issue up. We would sincerely appreciate a PR/community contribution if this is something that matters to you! If not, and there is no further activity on this issue for another 6 months (i.e. it's stale for over a year), the issue will be auto-closed.