Skip to content

Conversation

@ocavue
Copy link
Contributor

@ocavue ocavue commented Dec 12, 2025

crypto.randomUUID() is only available in secure context environments like https:// and http://localhost. This could be a problem if the test environment is non-trivial.

@ocavue ocavue force-pushed the ocavue/act-counter branch from 86e551c to 490132b Compare December 12, 2025 00:48
@ocavue ocavue marked this pull request as ready for review December 12, 2025 00:51
@sheremet-va
Copy link
Member

I was gonna say that Vitest uses randomUUID everywhere, but it seems like it's only on Node.js side, so I think we can merge this.

@sheremet-va sheremet-va merged commit 8b122d2 into vitest-community:main Dec 15, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants