Normalize i18n() calls to prepare for ICU migration
This commit is contained in:
parent
7c8e7c1013
commit
c02c8d9640
17 changed files with 377 additions and 273 deletions
|
@ -100,10 +100,11 @@ describe('both/state/ducks/audioPlayer', () => {
|
|||
it('active is not changed when changing the conversation', () => {
|
||||
const state = getInitializedState();
|
||||
|
||||
const updated = rootReducer(state, <TargetedConversationChangedActionType>{
|
||||
const action: TargetedConversationChangedActionType = {
|
||||
type: TARGETED_CONVERSATION_CHANGED,
|
||||
payload: { id: 'any' },
|
||||
});
|
||||
payload: { conversationId: 'any' },
|
||||
};
|
||||
const updated = rootReducer(state, action);
|
||||
|
||||
const content = updated.audioPlayer.active?.content;
|
||||
assert.isTrue(content && AudioPlayerContent.isVoiceNote(content));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue