0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-25 02:49:32 +01:00
posthog/cypress/support/random.js
Paul D'Ambra ed049830df
chore: add some cypress tests that exercise turbo mode more (#12350)
* chore: add some cypress tests that exercise turbo mode more

* a little before eaching
2022-10-20 13:24:56 +01:00

5 lines
126 B
JavaScript

export function randomString(prefix = '') {
const uuid = () => Cypress._.random(0, 1e6)
return `${prefix}${uuid()}`
}