From 2f0334cc2d22fb14423a613ed0c6092e51b51f9c Mon Sep 17 00:00:00 2001 From: etowahadams Date: Fri, 6 Oct 2023 18:21:48 -0400 Subject: [PATCH] chore: remove crypto patch --- scripts/setup-vitest.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/scripts/setup-vitest.js b/scripts/setup-vitest.js index 776f1bf6..e032988a 100644 --- a/scripts/setup-vitest.js +++ b/scripts/setup-vitest.js @@ -29,12 +29,6 @@ beforeAll(() => { global.URL.createObjectURL = () => { return ''; }; - // jsdom doesn't come with a `crypto.getRandomValues` implementation. This is for uuid. - vi.stubGlobal('crypto', { - getRandomValues: function (buffer) { - return randomFillSync(buffer); - } - }); }); afterAll(() => {