libphonenumber-js
Version:
A simpler (and smaller) rewrite of Google Android's libphonenumber library in javascript
9 lines • 317 B
JavaScript
import { describe, it } from 'mocha';
import { expect } from 'chai';
import parseDigits from './parseDigits.js';
describe('parseDigits', function () {
it('should parse digits', function () {
expect(parseDigits('+٤٤٢٣٢٣٢٣٤')).to.equal('442323234');
});
});
//# sourceMappingURL=parseDigits.test.js.map