UNPKG

cldr

Version:

Library for extracting data from CLDR (the Unicode Common Locale Data Repository)

18 lines (15 loc) 533 B
const expect = require('unexpected'); const cldr = require('../lib/cldr'); describe('extractDerivedTextToSpeechCharacterLabels', () => { it('should extract the Australian English derived text-to-speech character labels correctly', () => { expect( cldr.extractDerivedTextToSpeechCharacterLabels('en_AU'), 'to satisfy', { '🖖🏽': 'Vulcan salute: medium skin tone', '🤙🏽': 'call me hand: medium skin tone', '👋🏽': 'waving hand: medium skin tone', } ); }); });