Skip to content

Commit

Permalink
test: workaround Snap bridge error message
Browse files Browse the repository at this point in the history
  • Loading branch information
ccharly committed Nov 19, 2024
1 parent a33cb9b commit 46d44ad
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/e2e/flask/create-watch-account.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,10 @@ describe('Account-watcher snap', function (this: Suite) {
},
{
input: ACCOUNT_1,
message: `Unknown snap error: Account address '${ACCOUNT_1}' already exists`,
// FIXME: Watchout, the Snap bridge will lower-case EVM addresses, even in some error messages, this is
// a mistake, and we might wanna re-change that later, see:
// - https://github.com/MetaMask/accounts/pull/90/files#r1848713364
message: `Unknown snap error: Account address '${ACCOUNT_1.toLowerCase()}' already exists`,
description: 'existing address',
},
];
Expand Down

0 comments on commit 46d44ad

Please sign in to comment.