mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-24 10:28:03 +01:00
Qualify CJS-only module imports
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
import { assert } from 'chai';
|
||||
import * as sinon from 'sinon';
|
||||
import { times } from 'lodash';
|
||||
import lodash from 'lodash';
|
||||
import {
|
||||
RowType,
|
||||
_testHeaderText,
|
||||
@@ -13,6 +13,8 @@ import { getDefaultConversation } from '../../../test-helpers/getDefaultConversa
|
||||
|
||||
import { LeftPaneChooseGroupMembersHelper } from '../../../components/leftPane/LeftPaneChooseGroupMembersHelper.js';
|
||||
|
||||
const { times } = lodash;
|
||||
|
||||
describe('LeftPaneChooseGroupMembersHelper', () => {
|
||||
const defaults = {
|
||||
uuidFetchState: {},
|
||||
|
||||
@@ -2,13 +2,15 @@
|
||||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
import { assert } from 'chai';
|
||||
import { shuffle } from 'lodash';
|
||||
import lodash from 'lodash';
|
||||
|
||||
import { IMAGE_JPEG } from '../../../types/MIME.js';
|
||||
import { groupMediaItemsByDate } from '../../../components/conversation/media-gallery/groupMediaItemsByDate.js';
|
||||
import type { MediaItemType } from '../../../types/MediaItem.js';
|
||||
import { fakeAttachment } from '../../../test-helpers/fakeAttachment.js';
|
||||
|
||||
const { shuffle } = lodash;
|
||||
|
||||
const testDate = (
|
||||
year: number,
|
||||
month: number,
|
||||
|
||||
Reference in New Issue
Block a user