Skip to content

Conversation

GraceGardner
Copy link
Contributor

@GraceGardner GraceGardner commented Sep 25, 2025

Description & motivation 💭

Replace v4 with crypto randomUUID

Screenshots (if applicable) 📸

Design Considerations 🎨

Testing 🧪

Add mock uuid's to account for updated uuid in our tests.

How was this tested 👻

  • Manual testing
  • E2E tests added
  • Unit tests added

Steps for others to test: 🚶🏽‍♂️🚶🏽‍♀️

Checklists

Draft Checklist

Merge Checklist

Issue(s) closed

dt-3225

Docs

Any docs updates needed?

Copy link

vercel bot commented Sep 25, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
holocene Canceled Canceled Oct 2, 2025 4:02pm

Copy link
Collaborator

@laurakwhit laurakwhit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left some comments (all NITs) on places that don't need to be typed as a string. Otherwise, LGTM 🚀

randomUUID: () => 'test-uuid-' + Math.random().toString(36).substring(2, 9),
};

vi.stubGlobal('crypto', cryptoMock);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason you added this mock? Looks like it's currently not being used anywhere.

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