mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-23 02:10:12 +01:00
4c3c4eebac
* Add transaction activity log component * Remove duplicate tx activity log snapshot. * Convert Advanced Tab to tlr. * Lint fix * Change ENS to DNS in mock state data. * Add test ids for speedup, cancel, rety buttons. * Convert TransactionListItemDetails component to RTL. * Convert PageContainerHeader component to RTL. * Convert TokenInput component to RTL. * Convert UnitInput component to RTL. * Convert withModalProps to RTL. * Convert i18n-helper to RTL. * Convert ConfirmSeedPhrase component to TLR. * Convert AddRecipient component to RTL. * Set process.env metamask build type to 'main' for test Co-authored-by: Brad Decker <bhdecker84@gmail.com> Co-authored-by: Pedro Figueiredo <pedro.figueiredo@consensys.net>
66 lines
1.1 KiB
Plaintext
66 lines
1.1 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`i18n helper getMessage should return the correct message when a single react substitution is made 1`] = `
|
|
<div>
|
|
<span>
|
|
|
|
Testing a react substitution
|
|
<div
|
|
style="color: red;"
|
|
>
|
|
TEST_SUBSTITUTION_1
|
|
</div>
|
|
.
|
|
|
|
</span>
|
|
</div>
|
|
`;
|
|
|
|
exports[`i18n helper getMessage should return the correct message when substituting a mix of react elements and strings 1`] = `
|
|
<div>
|
|
<span>
|
|
|
|
Testing a mix
|
|
TEST_SUBSTITUTION_1
|
|
of react substitutions
|
|
<div
|
|
style="color: orange;"
|
|
>
|
|
TEST_SUBSTITUTION_3
|
|
</div>
|
|
and string substitutions
|
|
TEST_SUBSTITUTION_2
|
|
+
|
|
<div
|
|
style="color: pink;"
|
|
>
|
|
TEST_SUBSTITUTION_4
|
|
</div>
|
|
.
|
|
|
|
</span>
|
|
</div>
|
|
`;
|
|
|
|
exports[`i18n helper getMessage should return the correct message when two react substitutions are made 1`] = `
|
|
<div>
|
|
<span>
|
|
|
|
Testing a react substitution
|
|
<div
|
|
style="color: red;"
|
|
>
|
|
TEST_SUBSTITUTION_1
|
|
</div>
|
|
and another
|
|
<div
|
|
style="color: blue;"
|
|
>
|
|
TEST_SUBSTITUTION_2
|
|
</div>
|
|
.
|
|
|
|
</span>
|
|
</div>
|
|
`;
|