Rust backend: SQLite (WAL mode, 8 tables), vault encryption (Argon2id + AES-256-GCM), settings/connections/credentials services, 19 Tauri command wrappers. 46/46 tests passing. Vue 3 frontend: unlock/create vault flow, Pinia app store, Tailwind CSS v4 dark theme with Wraith branding. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
32 lines
749 B
JavaScript
32 lines
749 B
JavaScript
/* 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();
|
|
});
|
|
}); |