Skip to content

Commit

Permalink
chore: remove crypto patch
Browse files Browse the repository at this point in the history
  • Loading branch information
etowahadams committed Oct 6, 2023
1 parent 394de59 commit 2f0334c
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions scripts/setup-vitest.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(() => {
Expand Down

0 comments on commit 2f0334c

Please sign in to comment.