Closed athill closed 1 month ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 99.35%. Comparing base (
0832916
) to head (4b839e7
). Report is 2 commits behind head on beta.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
:tada: This PR is included in version 2.0.0-beta.6 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Fixes the following warnings when testing:
ReactDOMTestUtils.act
is deprecated in favor ofReact.act
. Importact
fromreact
instead ofreact-dom/test-utils
. See https://react.dev/warnings/react-dom-test-utils for more info. -- Fixed by updating React Testing Libraryclass
. Did you meanclassName
? -- Fixed by changingclass
props toclassName
testAttr
prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercasetestattr
instead. If you accidentally passed it from a parent component, remove it from the DOM element. -- Fixed by changingtestAttr
totestattr
label
is marked as required inSubnav
, but its value isundefined
-- Fixed by passing in required prop to tests