Files
manja_ui_dev/node_modules/speakingurl/test/test-persian.js
T
sean d26db06f74
NPM Installation / build (16.x, ubuntu-latest) (push) Has been cancelled
NPM Installation / build (16.x, windows-latest) (push) Has been cancelled
NPM Installation / build (17.x, ubuntu-latest) (push) Has been cancelled
NPM Installation / build (17.x, windows-latest) (push) Has been cancelled
NPM Installation / build (18.x, ubuntu-latest) (push) Has been cancelled
NPM Installation / build (18.x, windows-latest) (push) Has been cancelled
all data hide
2026-06-25 09:44:52 +07:00

16 lines
375 B
JavaScript

var getSlug = require('../lib/speakingurl');
describe('getSlug translate persian letters/numbers', function () {
'use strict';
it('should be ', function (done) {
getSlug('گ چ پ ژ ک ی ۰ ۱ ۲ ۳ ۴ ۵ ۶ ۷ ۸ ۹', {
lang: 'fa'
})
.should.eql('g-ch-p-zh-k-y-0-1-2-3-4-5-6-7-8-9');
done();
});
});