Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
SorinC6 committed Oct 6, 2023
1 parent 2a0f6d4 commit 2c1b216
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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',
)
Expand Down

0 comments on commit 2c1b216

Please sign in to comment.