mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-30 19:41: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()}`
|
|
}
|