Prepare for adding file suffixes

This commit is contained in:
Fedor Indutny
2025-10-16 11:29:11 -07:00
parent 3330dd72ce
commit 3387cf6a77
2095 changed files with 15148 additions and 14629 deletions

View File

@@ -4,12 +4,12 @@
import { assert } from 'chai';
import * as sinon from 'sinon';
import { v4 as uuid } from 'uuid';
import { RowType } from '../../../components/ConversationList.js';
import { FindDirection } from '../../../components/leftPane/LeftPaneHelper.js';
import { getDefaultConversation } from '../../../test-helpers/getDefaultConversation.js';
import { LeftPaneSearchHelper } from '../../../components/leftPane/LeftPaneSearchHelper.js';
import { RowType } from '../../../components/ConversationList.dom.js';
import { FindDirection } from '../../../components/leftPane/LeftPaneHelper.dom.js';
import { getDefaultConversation } from '../../../test-helpers/getDefaultConversation.std.js';
import { LeftPaneSearchHelper } from '../../../components/leftPane/LeftPaneSearchHelper.dom.js';
import { LeftPaneArchiveHelper } from '../../../components/leftPane/LeftPaneArchiveHelper.js';
import { LeftPaneArchiveHelper } from '../../../components/leftPane/LeftPaneArchiveHelper.dom.js';
describe('LeftPaneArchiveHelper', () => {
let sandbox: sinon.SinonSandbox;

View File

@@ -7,11 +7,11 @@ import lodash from 'lodash';
import {
RowType,
_testHeaderText,
} from '../../../components/ConversationList.js';
import { ContactCheckboxDisabledReason } from '../../../components/conversationList/ContactCheckbox.js';
import { getDefaultConversation } from '../../../test-helpers/getDefaultConversation.js';
} from '../../../components/ConversationList.dom.js';
import { ContactCheckboxDisabledReason } from '../../../components/conversationList/ContactCheckbox.dom.js';
import { getDefaultConversation } from '../../../test-helpers/getDefaultConversation.std.js';
import { LeftPaneChooseGroupMembersHelper } from '../../../components/leftPane/LeftPaneChooseGroupMembersHelper.js';
import { LeftPaneChooseGroupMembersHelper } from '../../../components/leftPane/LeftPaneChooseGroupMembersHelper.dom.js';
const { times } = lodash;

View File

@@ -6,14 +6,14 @@ import * as sinon from 'sinon';
import {
RowType,
_testHeaderText,
} from '../../../components/ConversationList.js';
import { FindDirection } from '../../../components/leftPane/LeftPaneHelper.js';
} from '../../../components/ConversationList.dom.js';
import { FindDirection } from '../../../components/leftPane/LeftPaneHelper.dom.js';
import {
getDefaultConversation,
getDefaultGroupListItem,
} from '../../../test-helpers/getDefaultConversation.js';
} from '../../../test-helpers/getDefaultConversation.std.js';
import { LeftPaneComposeHelper } from '../../../components/leftPane/LeftPaneComposeHelper.js';
import { LeftPaneComposeHelper } from '../../../components/leftPane/LeftPaneComposeHelper.dom.js';
describe('LeftPaneComposeHelper', () => {
let sinonSandbox: sinon.SinonSandbox;

View File

@@ -6,12 +6,12 @@ import * as sinon from 'sinon';
import {
RowType,
_testHeaderText,
} from '../../../components/ConversationList.js';
import { FindDirection } from '../../../components/leftPane/LeftPaneHelper.js';
import { getDefaultConversation } from '../../../test-helpers/getDefaultConversation.js';
} from '../../../components/ConversationList.dom.js';
import { FindDirection } from '../../../components/leftPane/LeftPaneHelper.dom.js';
import { getDefaultConversation } from '../../../test-helpers/getDefaultConversation.std.js';
import type { LeftPaneInboxPropsType } from '../../../components/leftPane/LeftPaneInboxHelper.js';
import { LeftPaneInboxHelper } from '../../../components/leftPane/LeftPaneInboxHelper.js';
import type { LeftPaneInboxPropsType } from '../../../components/leftPane/LeftPaneInboxHelper.dom.js';
import { LeftPaneInboxHelper } from '../../../components/leftPane/LeftPaneInboxHelper.dom.js';
describe('LeftPaneInboxHelper', () => {
const defaultProps: LeftPaneInboxPropsType = {

View File

@@ -7,10 +7,10 @@ import { v4 as uuid } from 'uuid';
import {
RowType,
_testHeaderText,
} from '../../../components/ConversationList.js';
import { getDefaultConversation } from '../../../test-helpers/getDefaultConversation.js';
} from '../../../components/ConversationList.dom.js';
import { getDefaultConversation } from '../../../test-helpers/getDefaultConversation.std.js';
import { LeftPaneSearchHelper } from '../../../components/leftPane/LeftPaneSearchHelper.js';
import { LeftPaneSearchHelper } from '../../../components/leftPane/LeftPaneSearchHelper.dom.js';
const baseSearchHelperArgs = {
conversationResults: { isLoading: false, results: [] },

View File

@@ -6,11 +6,11 @@ import * as sinon from 'sinon';
import {
RowType,
_testHeaderText,
} from '../../../components/ConversationList.js';
import { getDefaultConversation } from '../../../test-helpers/getDefaultConversation.js';
import { DurationInSeconds } from '../../../util/durations/index.js';
} from '../../../components/ConversationList.dom.js';
import { getDefaultConversation } from '../../../test-helpers/getDefaultConversation.std.js';
import { DurationInSeconds } from '../../../util/durations/index.std.js';
import { LeftPaneSetGroupMetadataHelper } from '../../../components/leftPane/LeftPaneSetGroupMetadataHelper.js';
import { LeftPaneSetGroupMetadataHelper } from '../../../components/leftPane/LeftPaneSetGroupMetadataHelper.dom.js';
function getComposeState() {
return {

View File

@@ -2,11 +2,11 @@
// SPDX-License-Identifier: AGPL-3.0-only
import { assert } from 'chai';
import type { ToFindType } from '../../../components/leftPane/LeftPaneHelper.js';
import { FindDirection } from '../../../components/leftPane/LeftPaneHelper.js';
import { getDefaultConversation } from '../../../test-helpers/getDefaultConversation.js';
import type { ToFindType } from '../../../components/leftPane/LeftPaneHelper.dom.js';
import { FindDirection } from '../../../components/leftPane/LeftPaneHelper.dom.js';
import { getDefaultConversation } from '../../../test-helpers/getDefaultConversation.std.js';
import { getConversationInDirection } from '../../../components/leftPane/getConversationInDirection.js';
import { getConversationInDirection } from '../../../components/leftPane/getConversationInDirection.dom.js';
describe('getConversationInDirection', () => {
const fakeConversation = (markedUnread = false) =>