You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
95 lines
2.2 KiB
95 lines
2.2 KiB
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`SlippageButtons renders the component with initial props 1`] = `
|
|
<button
|
|
class="slippage-buttons__header slippage-buttons__header--open"
|
|
>
|
|
<div
|
|
class="slippage-buttons__header-text"
|
|
>
|
|
Advanced Options
|
|
</div>
|
|
<i
|
|
class="fa fa-angle-up"
|
|
/>
|
|
</button>
|
|
`;
|
|
|
|
exports[`SlippageButtons renders the component with initial props 2`] = `
|
|
<div
|
|
class="button-group slippage-buttons__button-group radio-button-group"
|
|
role="radiogroup"
|
|
>
|
|
<button
|
|
aria-checked="false"
|
|
class="button-group__button radio-button"
|
|
data-testid="button-group__button0"
|
|
role="radio"
|
|
>
|
|
2%
|
|
</button>
|
|
<button
|
|
aria-checked="true"
|
|
class="button-group__button radio-button button-group__button--active radio-button--active"
|
|
data-testid="button-group__button1"
|
|
role="radio"
|
|
>
|
|
3%
|
|
</button>
|
|
<button
|
|
aria-checked="false"
|
|
class="button-group__button slippage-buttons__button-group-custom-button radio-button"
|
|
data-testid="button-group__button2"
|
|
role="radio"
|
|
>
|
|
custom
|
|
</button>
|
|
</div>
|
|
`;
|
|
|
|
exports[`SlippageButtons renders the component with the Smart Transaction opt-in button available 1`] = `
|
|
<button
|
|
class="slippage-buttons__header slippage-buttons__header--open"
|
|
>
|
|
<div
|
|
class="slippage-buttons__header-text"
|
|
>
|
|
Advanced Options
|
|
</div>
|
|
<i
|
|
class="fa fa-angle-up"
|
|
/>
|
|
</button>
|
|
`;
|
|
|
|
exports[`SlippageButtons renders the component with the Smart Transaction opt-in button available 2`] = `
|
|
<div
|
|
class="button-group slippage-buttons__button-group radio-button-group"
|
|
role="radiogroup"
|
|
>
|
|
<button
|
|
aria-checked="false"
|
|
class="button-group__button radio-button"
|
|
data-testid="button-group__button0"
|
|
role="radio"
|
|
>
|
|
2%
|
|
</button>
|
|
<button
|
|
aria-checked="true"
|
|
class="button-group__button radio-button button-group__button--active radio-button--active"
|
|
data-testid="button-group__button1"
|
|
role="radio"
|
|
>
|
|
3%
|
|
</button>
|
|
<button
|
|
aria-checked="false"
|
|
class="button-group__button slippage-buttons__button-group-custom-button radio-button"
|
|
data-testid="button-group__button2"
|
|
role="radio"
|
|
>
|
|
custom
|
|
</button>
|
|
</div>
|
|
`;
|
|
|