Skip to content

Commit

Permalink
Merge pull request #582 from technologiestiftung/test/remove-webcrypto
Browse files Browse the repository at this point in the history
  • Loading branch information
ff6347 authored May 11, 2023
2 parents 033c3e2 + bcf3ec9 commit de30fc4
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 111 deletions.
107 changes: 0 additions & 107 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@
"@testing-library/jest-dom": "5.16.5",
"@testing-library/react": "12.1.5",
"@testing-library/user-event": "12.7.1",
"@trust/webcrypto": "0.9.2",
"@types/d3": "6.3.0",
"@types/jest-in-case": "1.0.3",
"@types/react": "17.0.2",
Expand Down
3 changes: 0 additions & 3 deletions test/setup-test-env.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import 'whatwg-fetch';
import '@testing-library/jest-dom/extend-expect';
import { server } from '../src/mocks/server';
import webcrypto from '@trust/webcrypto';
import ReactDOM from 'react-dom';

// @ts-ignore
Expand Down Expand Up @@ -31,8 +30,6 @@ jest.mock('next/router', () => {
};
});

window.crypto = webcrypto;

beforeAll(() => {
// Enable the mocking in tests.
server.listen();
Expand Down

0 comments on commit de30fc4

Please # to comment.