Criada a API do site

This commit is contained in:
Caio1w
2025-10-29 19:56:41 -03:00
parent f201c8edbd
commit 4a14f533d2
3074 changed files with 780728 additions and 41 deletions

32
node_modules/speakingurl/test/test-maintaincase.js generated vendored Normal file
View File

@@ -0,0 +1,32 @@
/* global describe,it */
var getSlug = require('../lib/speakingurl');
describe('getSlug maintainCase', function () {
'use strict';
it('should maintain case characters', function (done) {
getSlug('Foo, Bar Baz', {
maintainCase: true
})
.should.eql('Foo-Bar-Baz');
getSlug('Foo- Bar Baz', {
maintainCase: true
})
.should.eql('Foo-Bar-Baz');
getSlug('Foo] Bar Baz', {
maintainCase: true
})
.should.eql('Foo-Bar-Baz');
getSlug('Foo > Bar ♥ Baz', {
maintainCase: true
})
.should.eql('Foo-greater-than-Bar-love-Baz');
done();
});
});