mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-03-17 13:03:50 +00:00
Fixed coding styles
This commit is contained in:
@@ -20,7 +20,7 @@ describe('<DeleteShortUrlModal />', () => {
|
||||
toggle={identity}
|
||||
deleteShortUrl={deleteShortUrl}
|
||||
resetDeleteShortUrl={identity}
|
||||
/>
|
||||
/>,
|
||||
);
|
||||
|
||||
return wrapper;
|
||||
|
||||
@@ -17,7 +17,7 @@ describe('<EditMetaModal />', () => {
|
||||
toggle={toggle}
|
||||
editShortUrlMeta={editShortUrlMeta}
|
||||
resetShortUrlMeta={resetShortUrlMeta}
|
||||
/>
|
||||
/>,
|
||||
);
|
||||
|
||||
return wrapper;
|
||||
|
||||
@@ -15,7 +15,7 @@ describe('<EditShortUrlModal />', () => {
|
||||
shortUrlEdition={shortUrlEdition}
|
||||
toggle={toggle}
|
||||
editShortUrl={editShortUrl}
|
||||
/>
|
||||
/>,
|
||||
);
|
||||
|
||||
return wrapper;
|
||||
|
||||
@@ -26,7 +26,7 @@ describe('<EditTagsModal />', () => {
|
||||
toggle={toggle}
|
||||
editShortUrlTags={editShortUrlTags}
|
||||
resetShortUrlsTags={resetShortUrlsTags}
|
||||
/>
|
||||
/>,
|
||||
);
|
||||
|
||||
return wrapper;
|
||||
|
||||
@@ -21,7 +21,7 @@ describe('<ShortUrlVisitsCount />', () => {
|
||||
const maxVisitsTooltip = wrapper.find(UncontrolledTooltip);
|
||||
|
||||
expect(wrapper.html()).toEqual(
|
||||
`<span><strong class="short-url-visits-count__amount">${visitsCount}</strong></span>`
|
||||
`<span><strong class="short-url-visits-count__amount">${visitsCount}</strong></span>`,
|
||||
);
|
||||
expect(maxVisitsHelper).toHaveLength(0);
|
||||
expect(maxVisitsTooltip).toHaveLength(0);
|
||||
|
||||
@@ -34,7 +34,7 @@ describe('<ShortUrlsRow />', () => {
|
||||
const ShortUrlsRow = createShortUrlsRow(ShortUrlsRowMenu, colorGenerator, useStateFlagTimeout);
|
||||
|
||||
wrapper = shallow(
|
||||
<ShortUrlsRow shortUrlsListParams={{}} refreshList={mockFunction} selecrtedServer={server} shortUrl={shortUrl} />
|
||||
<ShortUrlsRow shortUrlsListParams={{}} refreshList={mockFunction} selecrtedServer={server} shortUrl={shortUrl} />,
|
||||
);
|
||||
});
|
||||
afterEach(() => wrapper.unmount());
|
||||
|
||||
@@ -23,7 +23,7 @@ describe('<ShortUrlsRowMenu />', () => {
|
||||
EditTagsModal,
|
||||
EditMetaModal,
|
||||
EditShortUrlModal,
|
||||
() => ''
|
||||
() => '',
|
||||
);
|
||||
|
||||
wrapper = shallow(
|
||||
@@ -31,7 +31,7 @@ describe('<ShortUrlsRowMenu />', () => {
|
||||
selectedServer={selectedServer}
|
||||
shortUrl={shortUrl}
|
||||
onCopyToClipboard={onCopyToClipboard}
|
||||
/>
|
||||
/>,
|
||||
);
|
||||
|
||||
return wrapper;
|
||||
|
||||
Reference in New Issue
Block a user