1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/ui/pages/swaps/view-quote/__snapshots__/view-quote.test.js.snap

146 lines
3.3 KiB
Plaintext
Raw Normal View History

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`ViewQuote renders the component with EIP-1559 enabled 1`] = `
<div
class="main-quote-summary__source-row"
data-testid="main-quote-summary__source-row"
>
<span
class="main-quote-summary__source-row-value"
title="10"
>
10
</span>
<div
class=""
>
<img
alt="DAI"
class="url-icon main-quote-summary__icon"
src="https://foo.bar/logo.png"
/>
</div>
<span
class="main-quote-summary__source-row-symbol"
title="DAI"
>
DAI
</span>
</div>
`;
exports[`ViewQuote renders the component with EIP-1559 enabled 2`] = `
<div
class="main-quote-summary__exchange-rate-container"
data-testid="main-quote-summary__exchange-rate-container"
>
<div
class="exchange-rate-display main-quote-summary__exchange-rate-display"
>
<div
2023-06-15 20:17:21 +02:00
class="box exchange-rate-display__quote-rate box--display-flex box--flex-direction-row box--justify-content-center box--align-items-center box--color-primary-default"
data-testid="exchange-rate-display-quote-rate"
>
2023-06-15 20:17:21 +02:00
<span>
1
</span>
<span
class=""
data-testid="exchange-rate-display-base-symbol"
>
2023-06-15 20:17:21 +02:00
DAI
</span>
<span>
=
</span>
<span>
2.2
</span>
<span
class=""
>
USDC
</span>
</div>
2023-06-15 20:17:21 +02:00
<span
class="box mm-icon mm-icon--size-md box--display-inline-block box--flex-direction-row box--color-icon-alternative"
data-testid="exchange-rate-display-switch"
style="mask-image: url('./images/icons/swap-horizontal.svg'); cursor: pointer;"
title="Switch"
/>
</div>
</div>
`;
exports[`ViewQuote renders the component with initial props 1`] = `
<div
class="main-quote-summary__source-row"
data-testid="main-quote-summary__source-row"
>
<span
class="main-quote-summary__source-row-value"
title="10"
>
10
</span>
<div
class=""
>
<img
alt="DAI"
class="url-icon main-quote-summary__icon"
src="https://foo.bar/logo.png"
/>
</div>
<span
class="main-quote-summary__source-row-symbol"
title="DAI"
>
DAI
</span>
</div>
`;
exports[`ViewQuote renders the component with initial props 2`] = `
<div
class="main-quote-summary__exchange-rate-container"
data-testid="main-quote-summary__exchange-rate-container"
>
<div
class="exchange-rate-display main-quote-summary__exchange-rate-display"
>
<div
2023-06-15 20:17:21 +02:00
class="box exchange-rate-display__quote-rate box--display-flex box--flex-direction-row box--justify-content-center box--align-items-center box--color-primary-default"
data-testid="exchange-rate-display-quote-rate"
>
2023-06-15 20:17:21 +02:00
<span>
1
</span>
<span
class=""
data-testid="exchange-rate-display-base-symbol"
>
2023-06-15 20:17:21 +02:00
DAI
</span>
<span>
=
</span>
<span>
2.2
</span>
<span
class=""
>
USDC
</span>
</div>
2023-06-15 20:17:21 +02:00
<span
class="box mm-icon mm-icon--size-md box--display-inline-block box--flex-direction-row box--color-icon-alternative"
data-testid="exchange-rate-display-switch"
style="mask-image: url('./images/icons/swap-horizontal.svg'); cursor: pointer;"
title="Switch"
/>
</div>
</div>
`;