feat(release): prepare 1.1.0 candidate
This commit is contained in:
parent
5a34f66981
commit
5205dcdfa9
736 changed files with 115667 additions and 12203 deletions
15
apps/mobile-rn/__tests__/recording-language.test.ts
Normal file
15
apps/mobile-rn/__tests__/recording-language.test.ts
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
import { resolveRecordingLanguage } from '../src/features/recording/recording-language'
|
||||
|
||||
describe('resolveRecordingLanguage', () => {
|
||||
it('preserves normalized meeting languages through the recording queue', () => {
|
||||
expect(resolveRecordingLanguage(' JA ', 'ko')).toBe('ja')
|
||||
expect(resolveRecordingLanguage('ZH-CN', 'en')).toBe('zh-cn')
|
||||
})
|
||||
|
||||
it('falls back to the supported app locale for invalid route input', () => {
|
||||
expect(resolveRecordingLanguage('../ko', 'ko')).toBe('ko')
|
||||
expect(resolveRecordingLanguage('fr', 'ko')).toBe('ko')
|
||||
expect(resolveRecordingLanguage('', 'en')).toBe('en')
|
||||
expect(resolveRecordingLanguage(undefined, 'ja')).toBe('en')
|
||||
})
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue