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);