Cleanup - unused files / unused exports / duplicate exports
[ProtonMail-WebClient.git] / packages / shared / test / index.spec.js
blob0b2a283c3711f2274e3a08e2e0935ca4921cf3c1
1 import { CryptoProxy } from '@proton/crypto';
2 import { Api as CryptoApi } from '@proton/crypto/lib/worker/api';
4 // Initialize CryptoProxy using a non-worker endpoint
5 CryptoProxy.setEndpoint(new CryptoApi(), (endpoint) => endpoint.clearKeyStore());
7 const testsContext = require.context('.', true, /.spec.(js|tsx?)$/);
8 testsContext.keys().forEach(testsContext);