UNPKG

libphonenumber-js

Version:

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

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