♻️ Add random password util and refactor tests (#1277)
This commit is contained in:
@@ -4,6 +4,8 @@ export const randomEmail = () =>
|
||||
export const randomTeamName = () =>
|
||||
`Team ${Math.random().toString(36).substring(7)}`
|
||||
|
||||
export const randomPassword = () => `${Math.random().toString(36).substring(2)}`
|
||||
|
||||
export const slugify = (text: string) =>
|
||||
text
|
||||
.toLowerCase()
|
||||
|
Reference in New Issue
Block a user