-
Notifications
You must be signed in to change notification settings - Fork 493
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
test(toolkit): Add region provider remote test #6425
base: master
Are you sure you want to change the base?
Conversation
|
||
async function load() { | ||
async init(endpointsProvider: { |
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.
Should we switch this to a try/catch at this point, dropping the const load
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.
just played around with this. let me know what you think
}) | ||
}) | ||
|
||
it('resolves from remote', async function () { |
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.
nice and simple test 🎉
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.
LGTM after comments, nice choices!
0f3d4e3
to
9b14b9e
Compare
Problem
In the release yesterday we found an issue where fetching remote region data was failing
Solution
Add a new test since its critical to the flow
feature/x
branches will not be squash-merged at release time.