Normalize i18n() calls to prepare for ICU migration

This commit is contained in:
Jamie Kyle 2023-03-28 11:26:46 -07:00 committed by GitHub
parent 7c8e7c1013
commit c02c8d9640
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 377 additions and 273 deletions

View file

@ -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));