DeFiCh/wallet

View on GitHub
mobile-app/app/__mocks__/expo-random.ts

Summary

Maintainability
A
0 mins
Test Coverage
import * as crypto from "crypto";

export const getRandomBytes = jest.fn((length) => {
  return crypto.randomBytes(length);
});