mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-18 05:25:40 +09:00
refactor(imports): replace relative imports with path aliases (#2741)
This commit is contained in:
1 parent
a59b80ce11
commit
84dcf6b8a8
1834 files changed
+11601
-10725
No files matched your search
@@ -4,9 +4,12 @@ import {
|
||||
MARKDOWN_BLOCK_ATTRIBUTE,
|
||||
MarkdownBlock,
|
||||
type MarkdownBlockName,
|
||||
} from '../../messaging/components/markdown/renderers/common/MarkdownBlockAttributes';
|
||||
import {COMPACT_MARKDOWN_ATTRIBUTE, COMPACT_MESSAGE_PREFIX_ATTRIBUTE} from './MessageLayoutAttributes';
|
||||
import {getMessageLayoutCssVariables} from './MessageLayoutSpec';
|
||||
} from '@app/features/messaging/components/markdown/renderers/common/MarkdownBlockAttributes';
|
||||
import {
|
||||
COMPACT_MARKDOWN_ATTRIBUTE,
|
||||
COMPACT_MESSAGE_PREFIX_ATTRIBUTE,
|
||||
} from '@app/features/theme/layout/MessageLayoutAttributes';
|
||||
import {getMessageLayoutCssVariables} from '@app/features/theme/layout/MessageLayoutSpec';
|
||||
|
||||
function renderRule(selector: string, declarations: ReadonlyArray<string>): string {
|
||||
return `${selector} {\n${declarations.map((declaration) => `\t${declaration}`).join('\n')}\n}`;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
|
||||
import {getActiveHolidaySlugs, millisecondsUntilNextLocalMidnight} from '@app/features/theme/utils/HolidayClassUtils';
|
||||
import {describe, expect, it} from 'vitest';
|
||||
import {getActiveHolidaySlugs, millisecondsUntilNextLocalMidnight} from './HolidayClassUtils';
|
||||
|
||||
describe('getActiveHolidaySlugs', () => {
|
||||
it('fires christmas + christmastide on Dec 25', () => {
|
||||
|
||||
Reference in new issue
Block a user