1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/ui/helpers/utils/__snapshots__/i18n-helper.test.js.snap

66 lines
1.1 KiB
Plaintext
Raw Normal View History

// 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>
`;