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(() => {