mirror of
https://github.com/x1xhlol/system-prompts-and-models-of-ai-tools.git
synced 2025-12-17 05:55:11 +00:00
23 lines
485 B
JavaScript
23 lines
485 B
JavaScript
/* 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();
|
|
});
|
|
|
|
}); |