Skip to content
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update error messages in tests
  • Loading branch information
alexandre-abrioux committed Feb 22, 2024
commit b410f472edf481fff09a7904e8993e0b4fdc7deb
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ describe('extensions/payment-network/any-to-native-token', () => {
network: 'another-chain',
});
}).toThrowError(
`Payment network 'another-chain' is not supported by this extension (only aurora)`,
`No chain found with "name=another-chain" for ecosystem(s) "DECLARATIVE,EVM,NEAR"`,
);
});
it('throws when payment network is missing', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ describe('extensions/payment-network/erc20/fee-proxy-contract', () => {
TestData.arbitraryTimestamp,
),
).toThrowError(
"Payment network 'mainnet' is not supported by this extension (only near-testnet)",
`The extension "Erc20FeeProxyPaymentNetwork" does not support the chain "mainnet" (only "near-testnet")`,
);
});
});
Expand Down