libphonenumber-js
Version:
A simpler (and smaller) rewrite of Google Android's libphonenumber library in javascript
10 lines • 393 B
JavaScript
import { describe, it } from 'mocha';
import { expect } from 'chai';
import metadata from '../metadata.min.json' with { type: 'json' };
import getCountries from './getCountries.js';
describe('getCountries', function () {
it('should get countries list', function () {
expect(getCountries(metadata).indexOf('RU') > 0).to.equal(true);
});
});
//# sourceMappingURL=getCountries.test.js.map