UNPKG

830 BJavaScriptView Raw
1// Google's tests:
2// https://github.com/googlei18n/libphonenumber/blob/597983dc4d56ed7e5337a8e74316dc7a3d02d794/javascript/i18n/phonenumbers/phonenumberutil_test.js
3// import metadata from '../metadata.min.json'
4// import formatForMobileDialing from './formatForMobileDialing'
5// describe('formatForMobileDialing', () =>
6// {
7// it('should format for mobile dialing', () =>
8// {
9// formatForMobileDialing({ phone: '8005553535', country: 'RU' }, 'US', true, metadata).should.equal('+7 800 555 3535')
10// formatForMobileDialing({ phone: '8005553535', country: 'RU' }, 'US', false, metadata).should.equal('+78005553535')
11// formatForMobileDialing({ phone: '8005553535', country: 'RU' }, 'RU', false, metadata).should.equal('8005553535')
12// })
13// })
14"use strict";
15//# sourceMappingURL=formatNumberForMobileDialing.test.js.map
\No newline at end of file