(id: number, title: string)
| 15 | export const PACK = '/:id/:slug?'; |
| 16 | |
| 17 | export const getPackPath = (id: number, title: string): string => { |
| 18 | const slug = slugify(title, { replacement: '-', lower: true }); |
| 19 | return `/${id}/${slug}`; |
| 20 | }; |
no outgoing calls
no test coverage detected