fp/packages/utils/src/name.spec.ts
CJ_Clippy 614bf16cf8
Some checks failed
ci / build (push) Failing after 1s
combine_video_segments progress
2024-09-03 08:28:39 -08:00

13 lines
432 B
TypeScript

import { fpSlugify } from './name.ts'
import { expect } from 'chai'
describe('name', function () {
describe('unit', function () {
describe('fpSlugify', function () {
it('should remove all capitalization and uppercase and spaces and special characters', function () {
expect(fpSlugify('ProjektMelody')).to.equal('projektmelody')
expect(fpSlugify('CJ_Clippy')).to.equal('cjclippy')
})
})
})
})