-
Notifications
You must be signed in to change notification settings - Fork 42
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
ParaTimes: unit tests #978
Conversation
adaf257
to
70e8f16
Compare
a0e975d
to
8795a89
Compare
889c39f
to
e9ba2a9
Compare
render(<TransactionAmount />) | ||
|
||
userEvent.click(screen.getByRole('button', { name: 'MAX' })) | ||
expect(setTransactionForm).toHaveBeenCalledWith(expect.objectContaining({ amount: '1' })) |
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.
Can you add precision tests with 1563114365108133939632n
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.
2493300888889 isn't enough :D js numbers have that precision
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.
updated in the second PR
9bd5dd3
to
e429e47
Compare
Tests around
react-i18next
in a few tests to validate conditional interpolationPR adds: