diff --git a/test/utils.ts b/test/utils.ts index 0171eafb1..76749cf58 100644 --- a/test/utils.ts +++ b/test/utils.ts @@ -563,13 +563,3 @@ export const mockGetParticipantPublicKey = (pk = fakeFerveoPublicKey()) => { export const fakeFerveoPublicKey = (): FerveoPublicKey => { return Keypair.random().publicKey; }; - -export const mockGetParticipantPublicKey = (pk = fakeFerveoPublicKey()) => { - return jest - .spyOn(DkgClient, 'getParticipantPublicKey') - .mockImplementation((_address) => pk); -}; - -export const fakeFerveoPublicKey = (): FerveoPublicKey => { - return Keypair.random().publicKey; -};