mirror of
https://github.com/immich-app/immich.git
synced 2026-05-22 07:32:32 -04:00
chore(web): sort imports (#27922)
* feat: sort imports * fix: something?
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import NumberRangeInput from '$lib/components/shared-components/NumberRangeInput.svelte';
|
||||
import { render, type RenderResult } from '@testing-library/svelte';
|
||||
import userEvent from '@testing-library/user-event';
|
||||
import type { Mock } from 'vitest';
|
||||
import NumberRangeInput from '$lib/components/shared-components/NumberRangeInput.svelte';
|
||||
|
||||
describe('NumberRangeInput component', () => {
|
||||
const user = userEvent.setup();
|
||||
|
||||
+1
-1
@@ -1,10 +1,10 @@
|
||||
import type { AlbumResponseDto } from '@immich/sdk';
|
||||
import {
|
||||
type AlbumModalRow,
|
||||
AlbumModalRowConverter,
|
||||
AlbumModalRowType,
|
||||
} from '$lib/components/shared-components/album-selection/album-selection-utils';
|
||||
import { AlbumSortBy, SortOrder } from '$lib/stores/preferences.store';
|
||||
import type { AlbumResponseDto } from '@immich/sdk';
|
||||
import { albumFactory } from '@test-data/factories/album-factory';
|
||||
|
||||
// Some helper functions to make tests below more readable
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import { sortAlbums } from '$lib/utils/album-utils';
|
||||
import { normalizeSearchString } from '$lib/utils/string-utils';
|
||||
import type { AlbumResponseDto } from '@immich/sdk';
|
||||
import { t } from 'svelte-i18n';
|
||||
import { get } from 'svelte/store';
|
||||
import { sortAlbums } from '$lib/utils/album-utils';
|
||||
import { normalizeSearchString } from '$lib/utils/string-utils';
|
||||
|
||||
export const SCROLL_PROPERTIES: ScrollIntoViewOptions = { block: 'center', behavior: 'smooth' };
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { SettingInputFieldType } from '$lib/constants';
|
||||
import { render } from '@testing-library/svelte';
|
||||
import userEvent from '@testing-library/user-event';
|
||||
import { SettingInputFieldType } from '$lib/constants';
|
||||
import SettingInputField from './SettingInputField.svelte';
|
||||
|
||||
describe('SettingInputField component', () => {
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import { render, screen } from '@testing-library/svelte';
|
||||
import { tick } from 'svelte';
|
||||
import { sdkMock } from '$lib/__mocks__/sdk.mock';
|
||||
import RecentAlbums from '$lib/components/shared-components/side-bar/RecentAlbums.svelte';
|
||||
import { albumFactory } from '@test-data/factories/album-factory';
|
||||
import { render, screen } from '@testing-library/svelte';
|
||||
import { tick } from 'svelte';
|
||||
|
||||
describe('RecentAlbums component', () => {
|
||||
it('sorts albums by most recently updated', async () => {
|
||||
|
||||
Reference in New Issue
Block a user