UNPKG

libphonenumber-js

Version:

A simpler (and smaller) rewrite of Google Android's libphonenumber library in javascript

9 lines (7 loc) 239 B
import metadata from '../metadata.min.json' import getCountries from './getCountries' describe('getCountries', () => { it('should get countries list', () => { expect(getCountries(metadata).indexOf('RU') > 0).to.be.true; }) })