mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-10-20 15:52:01 +08:00
9 lines
245 B
TypeScript
9 lines
245 B
TypeScript
import { describe, expect, it } from 'vitest';
|
|
import { getRouteNameFromPath } from '@/utils/helpers';
|
|
|
|
describe('helpers', () => {
|
|
it('getRouteNameFromPath', () => {
|
|
expect(getRouteNameFromPath('/test/1')).toBe('test');
|
|
});
|
|
});
|