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
f36c87e3
Commit
f36c87e3
authored
Feb 01, 2022
by
Eduardo Sanz García
Committed by
Eduardo
Feb 01, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Place `$imports` in the same import line
parent
e4df4349
Changes
21
Show whitespace changes
Inline
Side-by-side
Showing
21 changed files
with
21 additions
and
42 deletions
+21
-42
boot-test.js
src/boot/test/boot-test.js
+1
-2
AnnotationActionBar-test.js
...ar/components/Annotation/test/AnnotationActionBar-test.js
+1
-2
use-filter-options-test.js
src/sidebar/components/hooks/test/use-filter-options-test.js
+1
-2
AutocompletList-test.js
src/sidebar/components/test/AutocompletList-test.js
+1
-2
Excerpt-test.js
src/sidebar/components/test/Excerpt-test.js
+1
-2
FilterSelect-test.js
src/sidebar/components/test/FilterSelect-test.js
+1
-2
HelpPanel-test.js
src/sidebar/components/test/HelpPanel-test.js
+1
-2
LoggedOutMessage-test.js
src/sidebar/components/test/LoggedOutMessage-test.js
+1
-2
LoginPromptPanel-test.js
src/sidebar/components/test/LoginPromptPanel-test.js
+1
-2
MarkdownEditor-test.js
src/sidebar/components/test/MarkdownEditor-test.js
+1
-2
MenuKeyboardNavigation-test.js
src/sidebar/components/test/MenuKeyboardNavigation-test.js
+1
-2
ModerationBanner-test.js
src/sidebar/components/test/ModerationBanner-test.js
+1
-2
NotebookResultCount-test.js
src/sidebar/components/test/NotebookResultCount-test.js
+1
-2
SelectionTabs-test.js
src/sidebar/components/test/SelectionTabs-test.js
+1
-2
ShareLinks-test.js
src/sidebar/components/test/ShareLinks-test.js
+1
-2
SidebarPanel-test.js
src/sidebar/components/test/SidebarPanel-test.js
+1
-2
StreamSearchInput-test.js
src/sidebar/components/test/StreamSearchInput-test.js
+1
-2
TagList-test.js
src/sidebar/components/test/TagList-test.js
+1
-2
ThreadCard-test.js
src/sidebar/components/test/ThreadCard-test.js
+1
-2
Tutorial-test.js
src/sidebar/components/test/Tutorial-test.js
+1
-2
is-third-party-service-test.js
src/sidebar/helpers/test/is-third-party-service-test.js
+1
-2
No files found.
src/boot/test/boot-test.js
View file @
f36c87e3
import
{
bootHypothesisClient
,
bootSidebarApp
}
from
'../boot'
;
import
{
bootHypothesisClient
,
bootSidebarApp
,
$imports
}
from
'../boot'
;
import
{
$imports
}
from
'../boot'
;
function
assetUrl
(
url
)
{
function
assetUrl
(
url
)
{
return
`https://marginal.ly/client/build/
${
url
}
`
;
return
`https://marginal.ly/client/build/
${
url
}
`
;
...
...
src/sidebar/components/Annotation/test/AnnotationActionBar-test.js
View file @
f36c87e3
import
{
mount
}
from
'enzyme'
;
import
{
mount
}
from
'enzyme'
;
import
{
act
}
from
'preact/test-utils'
;
import
{
act
}
from
'preact/test-utils'
;
import
AnnotationActionBar
from
'../AnnotationActionBar'
;
import
AnnotationActionBar
,
{
$imports
}
from
'../AnnotationActionBar'
;
import
{
$imports
}
from
'../AnnotationActionBar'
;
import
*
as
fixtures
from
'../../../test/annotation-fixtures'
;
import
*
as
fixtures
from
'../../../test/annotation-fixtures'
;
...
...
src/sidebar/components/hooks/test/use-filter-options-test.js
View file @
f36c87e3
import
{
mount
}
from
'enzyme'
;
import
{
mount
}
from
'enzyme'
;
import
{
useUserFilterOptions
}
from
'../use-filter-options'
;
import
{
useUserFilterOptions
,
$imports
}
from
'../use-filter-options'
;
import
{
$imports
}
from
'../use-filter-options'
;
describe
(
'sidebar/components/hooks/use-user-filter-options'
,
()
=>
{
describe
(
'sidebar/components/hooks/use-user-filter-options'
,
()
=>
{
let
fakeAccountId
;
let
fakeAccountId
;
...
...
src/sidebar/components/test/AutocompletList-test.js
View file @
f36c87e3
import
{
mount
}
from
'enzyme'
;
import
{
mount
}
from
'enzyme'
;
import
AutocompleteList
from
'../AutocompleteList'
;
import
AutocompleteList
,
{
$imports
}
from
'../AutocompleteList'
;
import
{
$imports
}
from
'../AutocompleteList'
;
import
{
checkAccessibility
}
from
'../../../test-util/accessibility'
;
import
{
checkAccessibility
}
from
'../../../test-util/accessibility'
;
import
{
mockImportedComponents
}
from
'../../../test-util/mock-imported-components'
;
import
{
mockImportedComponents
}
from
'../../../test-util/mock-imported-components'
;
...
...
src/sidebar/components/test/Excerpt-test.js
View file @
f36c87e3
import
{
mount
}
from
'enzyme'
;
import
{
mount
}
from
'enzyme'
;
import
{
act
}
from
'preact/test-utils'
;
import
{
act
}
from
'preact/test-utils'
;
import
Excerpt
from
'../Excerpt'
;
import
Excerpt
,
{
$imports
}
from
'../Excerpt'
;
import
{
$imports
}
from
'../Excerpt'
;
import
{
checkAccessibility
}
from
'../../../test-util/accessibility'
;
import
{
checkAccessibility
}
from
'../../../test-util/accessibility'
;
...
...
src/sidebar/components/test/FilterSelect-test.js
View file @
f36c87e3
import
{
mount
}
from
'enzyme'
;
import
{
mount
}
from
'enzyme'
;
import
FilterSelect
from
'../FilterSelect'
;
import
FilterSelect
,
{
$imports
}
from
'../FilterSelect'
;
import
{
$imports
}
from
'../FilterSelect'
;
import
{
checkAccessibility
}
from
'../../../test-util/accessibility'
;
import
{
checkAccessibility
}
from
'../../../test-util/accessibility'
;
...
...
src/sidebar/components/test/HelpPanel-test.js
View file @
f36c87e3
import
{
mount
}
from
'enzyme'
;
import
{
mount
}
from
'enzyme'
;
import
{
act
}
from
'preact/test-utils'
;
import
{
act
}
from
'preact/test-utils'
;
import
HelpPanel
from
'../HelpPanel'
;
import
HelpPanel
,
{
$imports
}
from
'../HelpPanel'
;
import
{
$imports
}
from
'../HelpPanel'
;
import
{
checkAccessibility
}
from
'../../../test-util/accessibility'
;
import
{
checkAccessibility
}
from
'../../../test-util/accessibility'
;
import
{
mockImportedComponents
}
from
'../../../test-util/mock-imported-components'
;
import
{
mockImportedComponents
}
from
'../../../test-util/mock-imported-components'
;
...
...
src/sidebar/components/test/LoggedOutMessage-test.js
View file @
f36c87e3
import
{
mount
}
from
'enzyme'
;
import
{
mount
}
from
'enzyme'
;
import
LoggedOutMessage
from
'../LoggedOutMessage'
;
import
LoggedOutMessage
,
{
$imports
}
from
'../LoggedOutMessage'
;
import
{
$imports
}
from
'../LoggedOutMessage'
;
import
{
checkAccessibility
}
from
'../../../test-util/accessibility'
;
import
{
checkAccessibility
}
from
'../../../test-util/accessibility'
;
import
{
mockImportedComponents
}
from
'../../../test-util/mock-imported-components'
;
import
{
mockImportedComponents
}
from
'../../../test-util/mock-imported-components'
;
...
...
src/sidebar/components/test/LoginPromptPanel-test.js
View file @
f36c87e3
import
{
mount
}
from
'enzyme'
;
import
{
mount
}
from
'enzyme'
;
import
LoginPromptPanel
from
'../LoginPromptPanel'
;
import
LoginPromptPanel
,
{
$imports
}
from
'../LoginPromptPanel'
;
import
{
$imports
}
from
'../LoginPromptPanel'
;
import
{
checkAccessibility
}
from
'../../../test-util/accessibility'
;
import
{
checkAccessibility
}
from
'../../../test-util/accessibility'
;
import
{
mockImportedComponents
}
from
'../../../test-util/mock-imported-components'
;
import
{
mockImportedComponents
}
from
'../../../test-util/mock-imported-components'
;
...
...
src/sidebar/components/test/MarkdownEditor-test.js
View file @
f36c87e3
...
@@ -3,8 +3,7 @@ import { render } from 'preact';
...
@@ -3,8 +3,7 @@ import { render } from 'preact';
import
{
act
}
from
'preact/test-utils'
;
import
{
act
}
from
'preact/test-utils'
;
import
{
LinkType
}
from
'../../markdown-commands'
;
import
{
LinkType
}
from
'../../markdown-commands'
;
import
MarkdownEditor
from
'../MarkdownEditor'
;
import
MarkdownEditor
,
{
$imports
}
from
'../MarkdownEditor'
;
import
{
$imports
}
from
'../MarkdownEditor'
;
import
{
mockImportedComponents
}
from
'../../../test-util/mock-imported-components'
;
import
{
mockImportedComponents
}
from
'../../../test-util/mock-imported-components'
;
import
{
checkAccessibility
}
from
'../../../test-util/accessibility'
;
import
{
checkAccessibility
}
from
'../../../test-util/accessibility'
;
...
...
src/sidebar/components/test/MenuKeyboardNavigation-test.js
View file @
f36c87e3
import
{
mount
}
from
'enzyme'
;
import
{
mount
}
from
'enzyme'
;
import
MenuKeyboardNavigation
from
'../MenuKeyboardNavigation'
;
import
MenuKeyboardNavigation
,
{
$imports
}
from
'../MenuKeyboardNavigation'
;
import
{
$imports
}
from
'../MenuKeyboardNavigation'
;
import
{
checkAccessibility
}
from
'../../../test-util/accessibility'
;
import
{
checkAccessibility
}
from
'../../../test-util/accessibility'
;
import
{
mockImportedComponents
}
from
'../../../test-util/mock-imported-components'
;
import
{
mockImportedComponents
}
from
'../../../test-util/mock-imported-components'
;
...
...
src/sidebar/components/test/ModerationBanner-test.js
View file @
f36c87e3
import
{
mount
}
from
'enzyme'
;
import
{
mount
}
from
'enzyme'
;
import
*
as
fixtures
from
'../../test/annotation-fixtures'
;
import
*
as
fixtures
from
'../../test/annotation-fixtures'
;
import
ModerationBanner
from
'../ModerationBanner'
;
import
ModerationBanner
,
{
$imports
}
from
'../ModerationBanner'
;
import
{
$imports
}
from
'../ModerationBanner'
;
import
{
checkAccessibility
}
from
'../../../test-util/accessibility'
;
import
{
checkAccessibility
}
from
'../../../test-util/accessibility'
;
import
{
mockImportedComponents
}
from
'../../../test-util/mock-imported-components'
;
import
{
mockImportedComponents
}
from
'../../../test-util/mock-imported-components'
;
...
...
src/sidebar/components/test/NotebookResultCount-test.js
View file @
f36c87e3
...
@@ -2,8 +2,7 @@ import { mount } from 'enzyme';
...
@@ -2,8 +2,7 @@ import { mount } from 'enzyme';
import
{
checkAccessibility
}
from
'../../../test-util/accessibility'
;
import
{
checkAccessibility
}
from
'../../../test-util/accessibility'
;
import
NotebookResultCount
from
'../NotebookResultCount'
;
import
NotebookResultCount
,
{
$imports
}
from
'../NotebookResultCount'
;
import
{
$imports
}
from
'../NotebookResultCount'
;
describe
(
'NotebookResultCount'
,
()
=>
{
describe
(
'NotebookResultCount'
,
()
=>
{
let
fakeCountVisible
;
let
fakeCountVisible
;
...
...
src/sidebar/components/test/SelectionTabs-test.js
View file @
f36c87e3
import
{
mount
}
from
'enzyme'
;
import
{
mount
}
from
'enzyme'
;
import
SelectionTabs
from
'../SelectionTabs'
;
import
SelectionTabs
,
{
$imports
}
from
'../SelectionTabs'
;
import
{
$imports
}
from
'../SelectionTabs'
;
import
{
checkAccessibility
}
from
'../../../test-util/accessibility'
;
import
{
checkAccessibility
}
from
'../../../test-util/accessibility'
;
import
{
mockImportedComponents
}
from
'../../../test-util/mock-imported-components'
;
import
{
mockImportedComponents
}
from
'../../../test-util/mock-imported-components'
;
...
...
src/sidebar/components/test/ShareLinks-test.js
View file @
f36c87e3
import
{
mount
}
from
'enzyme'
;
import
{
mount
}
from
'enzyme'
;
import
ShareLinks
from
'../ShareLinks'
;
import
ShareLinks
,
{
$imports
}
from
'../ShareLinks'
;
import
{
$imports
}
from
'../ShareLinks'
;
import
{
checkAccessibility
}
from
'../../../test-util/accessibility'
;
import
{
checkAccessibility
}
from
'../../../test-util/accessibility'
;
import
{
mockImportedComponents
}
from
'../../../test-util/mock-imported-components'
;
import
{
mockImportedComponents
}
from
'../../../test-util/mock-imported-components'
;
...
...
src/sidebar/components/test/SidebarPanel-test.js
View file @
f36c87e3
import
{
mount
}
from
'enzyme'
;
import
{
mount
}
from
'enzyme'
;
import
SidebarPanel
from
'../SidebarPanel'
;
import
SidebarPanel
,
{
$imports
}
from
'../SidebarPanel'
;
import
{
$imports
}
from
'../SidebarPanel'
;
import
{
checkAccessibility
}
from
'../../../test-util/accessibility'
;
import
{
checkAccessibility
}
from
'../../../test-util/accessibility'
;
import
{
mockImportedComponents
}
from
'../../../test-util/mock-imported-components'
;
import
{
mockImportedComponents
}
from
'../../../test-util/mock-imported-components'
;
...
...
src/sidebar/components/test/StreamSearchInput-test.js
View file @
f36c87e3
import
{
mount
}
from
'enzyme'
;
import
{
mount
}
from
'enzyme'
;
import
{
act
}
from
'preact/test-utils'
;
import
{
act
}
from
'preact/test-utils'
;
import
StreamSearchInput
from
'../StreamSearchInput'
;
import
StreamSearchInput
,
{
$imports
}
from
'../StreamSearchInput'
;
import
{
$imports
}
from
'../StreamSearchInput'
;
import
{
mockImportedComponents
}
from
'../../../test-util/mock-imported-components'
;
import
{
mockImportedComponents
}
from
'../../../test-util/mock-imported-components'
;
...
...
src/sidebar/components/test/TagList-test.js
View file @
f36c87e3
import
{
mount
}
from
'enzyme'
;
import
{
mount
}
from
'enzyme'
;
import
TagList
from
'../TagList'
;
import
TagList
,
{
$imports
}
from
'../TagList'
;
import
{
$imports
}
from
'../TagList'
;
import
{
checkAccessibility
}
from
'../../../test-util/accessibility'
;
import
{
checkAccessibility
}
from
'../../../test-util/accessibility'
;
import
{
mockImportedComponents
}
from
'../../../test-util/mock-imported-components'
;
import
{
mockImportedComponents
}
from
'../../../test-util/mock-imported-components'
;
...
...
src/sidebar/components/test/ThreadCard-test.js
View file @
f36c87e3
import
{
mount
}
from
'enzyme'
;
import
{
mount
}
from
'enzyme'
;
import
ThreadCard
from
'../ThreadCard'
;
import
ThreadCard
,
{
$imports
}
from
'../ThreadCard'
;
import
{
$imports
}
from
'../ThreadCard'
;
import
{
checkAccessibility
}
from
'../../../test-util/accessibility'
;
import
{
checkAccessibility
}
from
'../../../test-util/accessibility'
;
import
{
mockImportedComponents
}
from
'../../../test-util/mock-imported-components'
;
import
{
mockImportedComponents
}
from
'../../../test-util/mock-imported-components'
;
...
...
src/sidebar/components/test/Tutorial-test.js
View file @
f36c87e3
import
{
mount
}
from
'enzyme'
;
import
{
mount
}
from
'enzyme'
;
import
Tutorial
from
'../Tutorial'
;
import
Tutorial
,
{
$imports
}
from
'../Tutorial'
;
import
{
$imports
}
from
'../Tutorial'
;
import
{
checkAccessibility
}
from
'../../../test-util/accessibility'
;
import
{
checkAccessibility
}
from
'../../../test-util/accessibility'
;
import
{
mockImportedComponents
}
from
'../../../test-util/mock-imported-components'
;
import
{
mockImportedComponents
}
from
'../../../test-util/mock-imported-components'
;
...
...
src/sidebar/helpers/test/is-third-party-service-test.js
View file @
f36c87e3
import
{
isThirdPartyService
}
from
'../is-third-party-service'
;
import
{
isThirdPartyService
,
$imports
}
from
'../is-third-party-service'
;
import
{
$imports
}
from
'../is-third-party-service'
;
describe
(
'sidebar/helpers/is-third-party-service'
,
()
=>
{
describe
(
'sidebar/helpers/is-third-party-service'
,
()
=>
{
let
fakeServiceConfig
;
let
fakeServiceConfig
;
...
...
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