-
Notifications
You must be signed in to change notification settings - Fork 37
test: add tests for wallets/react #824
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
Conversation
ca2a758 to
98dec66
Compare
98dec66 to
88173e0
Compare
| legacyProvider, | ||
| } from '../src/test-utils/fixtures.js'; | ||
|
|
||
| describe('check legacy is working correctly', () => { |
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.
| describe('check legacy is working correctly', () => { | |
| describe('legacy is working correctly', () => { |
I think "check" is redundant
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.
It's kinda convention to start with a verb
| }); | ||
| }); | ||
|
|
||
| describe('check legacy switching network', () => { |
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.
| describe('check legacy switching network', () => { | |
| describe('legacy switch network works properly', () => { |
I think it would be helpful if you follow a specific convention
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.
| ); | ||
| }); | ||
|
|
||
| test('will be ignored and use first namespace when passing multiple namespaces', async () => { |
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 have added a comment related to this test on adapter PR
ab16aea to
9355468
Compare
9355468 to
1f9f637
Compare
f0db76c to
455bafc
Compare
27f3bbe to
63f00c5
Compare
066a718 to
9f062f8
Compare
9f062f8 to
cdb1875
Compare
Summary
Add integration tests for
walelt-react.This PR includes some integration tests for legacy provider and also some todo tests for doing for future.
Fixes RF-1731
How did you test this change?
Run
yarn testRelated PRs
Checklist:
Notes
First I need to change
connectinterface for legacy.