Skip to content

Commit

Permalink
Update test messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrtenz committed Feb 5, 2025
1 parent 906afe8 commit 22492b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4187,7 +4187,7 @@ describe('SnapController', () => {
},
}),
).rejects.toThrow(
`Assertion failed: At path: conversionRates.foo -- Expected a string matching`,
`Assertion failed: At path: conversionRates.foo -- Expected a value of type \`CaipAssetType\`, but received: \`"foo"\`.`,
);

snapController.destroy();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ describe('snap_experimentalProviderRequest', () => {
...rpcErrors
.invalidParams({
message:
'Invalid params: At path: chainId -- Expected a string matching `/^(?<namespace>[-a-z0-9]{3,8}):(?<reference>[-_a-zA-Z0-9]{1,32})$/` but received "abcdefg".',
'Invalid params: At path: chainId -- Expected a value of type `CaipChainId`, but received: `"abcdefg"`.',
})
.serialize(),
stack: expect.any(String),
Expand Down

0 comments on commit 22492b7

Please sign in to comment.