mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-19 07:58:46 +01:00
Prepare for adding file suffixes
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
@@ -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: [] },
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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) =>
|
||||
|
||||
Reference in New Issue
Block a user