Commit f36c87e3 authored by Eduardo Sanz García's avatar Eduardo Sanz García Committed by Eduardo

Place `$imports` in the same import line

parent e4df4349
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}`;
......
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';
......
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;
......
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';
......
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';
......
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';
......
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';
......
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';
......
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';
......
...@@ -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';
......
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';
......
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';
......
...@@ -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;
......
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';
......
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';
......
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';
......
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';
......
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';
......
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';
......
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';
......
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;
......
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