Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
coopwire-hypothesis
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
孙灵跃 Leon Sun
coopwire-hypothesis
Commits
8af64101
Commit
8af64101
authored
Oct 26, 2023
by
Alejandro Celaya
Committed by
Alejandro Celaya
Oct 26, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use VNode approach in a11y tests where we were wrapping component under test in div
parent
6788a69a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
5 deletions
+0
-5
ImportAnnotations-test.js
...bar/components/ShareDialog/test/ImportAnnotations-test.js
+0
-1
ShareDialog-test.js
src/sidebar/components/ShareDialog/test/ShareDialog-test.js
+0
-4
No files found.
src/sidebar/components/ShareDialog/test/ImportAnnotations-test.js
View file @
8af64101
...
...
@@ -339,7 +339,6 @@ describe('ImportAnnotations', () => {
it
(
'should pass a11y checks'
,
checkAccessibility
({
// re. not using `mount`, see https://github.com/hypothesis/client/issues/5690
content
:
()
=>
(
<
ImportAnnotations
store
=
{
fakeStore
}
...
...
src/sidebar/components/ShareDialog/test/ShareDialog-test.js
View file @
8af64101
...
...
@@ -126,10 +126,6 @@ describe('ShareDialog', () => {
it
(
'should pass a11y checks'
,
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
/>
,
}),
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment