1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
| /* global describe,it */
|
| var getSlug = require('../lib/speakingurl');
|
| describe('getSlug translate arabic letters', function () {
| 'use strict';
|
| it('should be ', function (done) {
|
| getSlug('بشس تاقفغقف - ت ب ي ق', {
| lang: 'ar'
| })
| .should.eql('bshs-taqfghqf-t-b-y-q');
|
| done();
| });
|
| });
|
|