Commit 8af64101 authored by Alejandro Celaya's avatar Alejandro Celaya Committed by Alejandro Celaya

Use VNode approach in a11y tests where we were wrapping component under test in div

parent 6788a69a
...@@ -339,7 +339,6 @@ describe('ImportAnnotations', () => { ...@@ -339,7 +339,6 @@ describe('ImportAnnotations', () => {
it( it(
'should pass a11y checks', 'should pass a11y checks',
checkAccessibility({ checkAccessibility({
// re. not using `mount`, see https://github.com/hypothesis/client/issues/5690
content: () => ( content: () => (
<ImportAnnotations <ImportAnnotations
store={fakeStore} store={fakeStore}
......
...@@ -126,10 +126,6 @@ describe('ShareDialog', () => { ...@@ -126,10 +126,6 @@ describe('ShareDialog', () => {
it( it(
'should pass a11y checks', 'should pass a11y checks',
checkAccessibility({ checkAccessibility({
// ShareDialog renders a Fragment as its top-level component when
// it has import and/or export tabs.
// Returning the VNode verbatim ensures no children are discarded.
// See https://github.com/hypothesis/client/issues/5671
content: () => <ShareDialog shareTab exportTab importTab />, content: () => <ShareDialog shareTab exportTab importTab />,
}), }),
); );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment