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 dhivehi letters', function () {
| 'use strict';
|
| it('should be ', function (done) {
|
| getSlug('މއދކ ވ ރ ށ ރީތި', {
| lang: 'dv'
| })
| .should.eql('madhk-v-r-sh-reethi');
|
| done();
| });
|
| });
|
|