import { describe, expect, it } from 'vitest'; import { buildDeletePath } from '@/utils/share/buildDeletePath'; describe('buildDeletePath', () => { it('builds delete route with encoded token', () => { expect(buildDeletePath('upload-id', 'abc+def/token')).toBe('/d/upload-id?token=abc%2Bdef%2Ftoken'); }); });