You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
485 B
23 lines
485 B
1 month ago
|
/* global describe,it */
|
||
|
|
||
|
var getSlug = require('../lib/speakingurl');
|
||
|
|
||
|
describe('getSlug translate turkish letters', function () {
|
||
|
'use strict';
|
||
|
|
||
|
it('umlaut should be single letter transliteration', function (done) {
|
||
|
|
||
|
getSlug('ÜÄÖüäö', {
|
||
|
lang: 'tr'
|
||
|
})
|
||
|
.should.eql('uaeouaeo');
|
||
|
|
||
|
getSlug('ÜÖÄ äüö', {
|
||
|
lang: 'tr'
|
||
|
})
|
||
|
.should.eql('uoae-aeuo');
|
||
|
|
||
|
done();
|
||
|
});
|
||
|
|
||
|
});
|