RTL
This commit is contained in:
@@ -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(),
|
||||
|
Reference in New Issue
Block a user