This commit is contained in:
Jamie Kyle
2023-04-20 10:03:43 -07:00
committed by GitHub
parent 1f2cde6d04
commit 0e490542a7
196 changed files with 2117 additions and 1217 deletions

View File

@@ -14,6 +14,7 @@ import type { ConversationType } from '../../../state/ducks/conversations';
import { MemberRepository } from '../../../quill/memberRepository';
import { ThemeType } from '../../../types/Util';
import { getDefaultConversationWithUuid } from '../../../test-both/helpers/getDefaultConversation';
import { setupI18n } from '../../../util/setupI18n';
const me: ConversationType = getDefaultConversationWithUuid({
id: '666777',
@@ -67,11 +68,7 @@ describe('MentionCompletion', () => {
const options: MentionCompletionOptions = {
getPreferredBadge: () => undefined,
i18n: Object.assign(sinon.stub(), {
getLocale: sinon.stub(),
getIntl: sinon.stub(),
isLegacyFormat: sinon.stub(),
}),
i18n: setupI18n('en', {}),
me,
memberRepositoryRef,
setMentionPickerElement: sinon.stub(),