diff --git a/packages/create-schemas/tests/fixtures.ts b/packages/create-schemas/tests/fixtures.ts index 61e7aa3..2803556 100644 --- a/packages/create-schemas/tests/fixtures.ts +++ b/packages/create-schemas/tests/fixtures.ts @@ -16,7 +16,7 @@ interface CreateTemporaryFolderOptions { export async function createTemporaryFolder({ onTestFinished }: CreateTemporaryFolderOptions): Promise { - const id = Math.random().toString(36).substring(2); + const id = crypto.randomUUID(); const path = join(tempFolder, id); await mkdir(path, { recursive: true });