We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e53707 commit b6265c4Copy full SHA for b6265c4
src/components/AccordionItemHeading.tsx
@@ -33,6 +33,11 @@ export class AccordionItemHeading extends React.PureComponent<Props> {
33
this.props.toggleExpanded();
34
}
35
36
+ /* The following block is ignored from test coverage because at time
37
+ * time of writing Jest/react-testing-library can not assert 'focus'
38
+ * functionality.
39
+ */
40
+ // istanbul ignore next
41
if (evt.target instanceof HTMLElement) {
42
switch (keyCode) {
43
case keycodes.HOME: {
0 commit comments