devstar插件
This commit is contained in:
18
node_modules/speakingurl/test/test-arabic.js
generated
vendored
Normal file
18
node_modules/speakingurl/test/test-arabic.js
generated
vendored
Normal file
@@ -0,0 +1,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();
|
||||
});
|
||||
|
||||
});
|
Reference in New Issue
Block a user