-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show a balance for the Token To, update position of the MM fee, removes a link #20030
Changes from all commits
dc9801a
e8c2521
1e72e45
83531e0
7884cda
11719ef
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,4 +19,8 @@ | |
&__quote-rate { | ||
cursor: pointer; | ||
} | ||
|
||
&__quote-rate--no-link { | ||
cursor: text; | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,7 +52,8 @@ describe('ReviewQuote', () => { | |
const { getByText } = renderWithProvider(<ReviewQuote {...props} />, store); | ||
expect(getByText('New quotes in')).toBeInTheDocument(); | ||
expect(getByText('Quote rate')).toBeInTheDocument(); | ||
expect(getByText('MetaMask fee')).toBeInTheDocument(); | ||
expect(getByText('Includes a 1% MetaMask fee –')).toBeInTheDocument(); | ||
expect(getByText('view all quotes')).toBeInTheDocument(); | ||
expect(getByText('Estimated gas fee')).toBeInTheDocument(); | ||
expect(getByText('0.00008 ETH')).toBeInTheDocument(); | ||
expect(getByText('Max fee:')).toBeInTheDocument(); | ||
|
@@ -71,7 +72,8 @@ describe('ReviewQuote', () => { | |
const { getByText } = renderWithProvider(<ReviewQuote {...props} />, store); | ||
expect(getByText('New quotes in')).toBeInTheDocument(); | ||
expect(getByText('Quote rate')).toBeInTheDocument(); | ||
expect(getByText('MetaMask fee')).toBeInTheDocument(); | ||
expect(getByText('Includes a 1% MetaMask fee –')).toBeInTheDocument(); | ||
expect(getByText('view all quotes')).toBeInTheDocument(); | ||
expect(getByText('Estimated gas fee')).toBeInTheDocument(); | ||
expect(getByText('0.00008 ETH')).toBeInTheDocument(); | ||
expect(getByText('Max fee:')).toBeInTheDocument(); | ||
|
@@ -93,7 +95,8 @@ describe('ReviewQuote', () => { | |
const { getByText } = renderWithProvider(<ReviewQuote {...props} />, store); | ||
expect(getByText('New quotes in')).toBeInTheDocument(); | ||
expect(getByText('Quote rate')).toBeInTheDocument(); | ||
expect(getByText('MetaMask fee')).toBeInTheDocument(); | ||
expect(getByText('Includes a 1% MetaMask fee –')).toBeInTheDocument(); | ||
expect(getByText('view all quotes')).toBeInTheDocument(); | ||
Comment on lines
+98
to
+99
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Does this constitute a change in our fee or just moving it around? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No change in the fee logic, just making it clearer that our MM fee is included in quotes already. |
||
expect(getByText('Estimated gas fee')).toBeInTheDocument(); | ||
expect(getByText('0.00008 ETH')).toBeInTheDocument(); | ||
expect(getByText('Max fee:')).toBeInTheDocument(); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change seems unintentional, and should likely be removed from the PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've updated snapshots and this is what I got. When I run
yarn jest --updateSnapshot
now, it doesn't give me anything new.