Files
stats/packages/common/src/slug.test.ts
2025-12-08 20:32:29 +01:00

11 lines
264 B
TypeScript

import { describe, expect, it } from 'vitest';
import { slug } from './slug';
describe('slug', () => {
it('should remove pipes from string', () => {
expect(slug('Hello || World, | Test å å ä ä')).toBe(
'hello-world-test-a-a-a-a',
);
});
});