✅ Add items and admin tests, and refactor existing ones (#2146)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
@@ -11,3 +11,9 @@ export const slugify = (text: string) =>
|
||||
.toLowerCase()
|
||||
.replace(/\s+/g, "-")
|
||||
.replace(/[^\w-]+/g, "")
|
||||
|
||||
export const randomItemTitle = () =>
|
||||
`Item ${Math.random().toString(36).substring(7)}`
|
||||
|
||||
export const randomItemDescription = () =>
|
||||
`Description ${Math.random().toString(36).substring(7)}`
|
||||
|
||||
Reference in New Issue
Block a user