2021-07-02 15:48:34 +02:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
2021-07-30 13:35:30 +02:00
|
|
|
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>
|
2022-10-25 17:03:45 +02:00
|
|
|
<div
|
|
|
|
class=""
|
|
|
|
>
|
|
|
|
<img
|
|
|
|
alt="DAI"
|
|
|
|
class="url-icon main-quote-summary__icon"
|
|
|
|
src="https://foo.bar/logo.png"
|
|
|
|
/>
|
|
|
|
</div>
|
2021-07-30 13:35:30 +02:00
|
|
|
<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"
|
2021-07-30 13:35:30 +02:00
|
|
|
>
|
2023-06-15 20:17:21 +02:00
|
|
|
<span>
|
|
|
|
1
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class=""
|
|
|
|
data-testid="exchange-rate-display-base-symbol"
|
2021-07-30 13:35:30 +02:00
|
|
|
>
|
2023-06-15 20:17:21 +02:00
|
|
|
DAI
|
|
|
|
</span>
|
|
|
|
<span>
|
|
|
|
=
|
|
|
|
</span>
|
|
|
|
<span>
|
|
|
|
2.2
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class=""
|
|
|
|
>
|
|
|
|
USDC
|
|
|
|
</span>
|
2021-07-30 13:35:30 +02:00
|
|
|
</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"
|
|
|
|
/>
|
2021-07-30 13:35:30 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2021-07-02 15:48:34 +02:00
|
|
|
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>
|
2022-10-25 17:03:45 +02:00
|
|
|
<div
|
|
|
|
class=""
|
|
|
|
>
|
|
|
|
<img
|
|
|
|
alt="DAI"
|
|
|
|
class="url-icon main-quote-summary__icon"
|
|
|
|
src="https://foo.bar/logo.png"
|
|
|
|
/>
|
|
|
|
</div>
|
2021-07-02 15:48:34 +02:00
|
|
|
<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"
|
2021-07-02 15:48:34 +02:00
|
|
|
>
|
2023-06-15 20:17:21 +02:00
|
|
|
<span>
|
|
|
|
1
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class=""
|
|
|
|
data-testid="exchange-rate-display-base-symbol"
|
2021-07-02 15:48:34 +02:00
|
|
|
>
|
2023-06-15 20:17:21 +02:00
|
|
|
DAI
|
|
|
|
</span>
|
|
|
|
<span>
|
|
|
|
=
|
|
|
|
</span>
|
|
|
|
<span>
|
|
|
|
2.2
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class=""
|
|
|
|
>
|
|
|
|
USDC
|
|
|
|
</span>
|
2021-07-02 15:48:34 +02:00
|
|
|
</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"
|
|
|
|
/>
|
2021-07-02 15:48:34 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|