This commit is contained in:
Mrhongxing committed 2026-11-04 14:22:20 +08:00
commit 4aaaf23d2f
2411 files changed
+1248679

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
/* 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();
});
});