mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-24 09:14:46 +01:00
5 lines
142 B
TypeScript
5 lines
142 B
TypeScript
export function randomString(prefix = ''): string {
|
|
const uuid = (): number => Cypress._.random(0, 1e6)
|
|
return `${prefix}${uuid()}`
|
|
}
|