From 2c1b216bb4b98a40d5dafe2e8c60b5a8cd32e2ee Mon Sep 17 00:00:00 2001 From: SorinC6 Date: Fri, 6 Oct 2023 16:34:14 +0300 Subject: [PATCH] wip --- .../shelley/tests/testnet/ShelleyWalletTestnet.test.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/apps/wallet-mobile/src/yoroi-wallets/cardano/shelley/tests/testnet/ShelleyWalletTestnet.test.ts b/apps/wallet-mobile/src/yoroi-wallets/cardano/shelley/tests/testnet/ShelleyWalletTestnet.test.ts index 2c26159eac..ca15a94103 100644 --- a/apps/wallet-mobile/src/yoroi-wallets/cardano/shelley/tests/testnet/ShelleyWalletTestnet.test.ts +++ b/apps/wallet-mobile/src/yoroi-wallets/cardano/shelley/tests/testnet/ShelleyWalletTestnet.test.ts @@ -177,9 +177,7 @@ describe('ShelleyWalletTestnet', () => { ) // Decrypted Root Key / Change Password - expect(wallet.getDecryptedRootKey('wrong password')).rejects.toThrowErrorMatchingInlineSnapshot( - `"Decryption error"`, - ) + expect(wallet.getDecryptedRootKey('wrong password')).rejects.toThrowErrorMatchingInlineSnapshot(`"RootKey invalid"`) await expect(wallet.getDecryptedRootKey(password)).resolves.toBe( 'a0cf109fd1346748a20f2ade2b3d1e1561485d2f28ae6d8c36e289b4d0ca22544b4e892132ca15095d48370d4cb2bc7c8cde3f68b8a2f63cfeda4c5ac2752599065111b0929f2b3e6fa0f4bddbc90f9a00d1997d4164f6361d2c0f3c4be1f050', )