-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Fix 'cache is not defined' TypeErrors in cachePut/cacheGet #8788
Conversation
To really cover our bases here I think we should add some unit tests to make sure errors are being handled as expected - I'm going to take a stab at that now. |
Added some basic tests for |
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.
🚢 Thanks for adding such a nice unit test!
#8788) * Move cacheGet/Put catches to end of chain to avoid 'cache is not defined' TypeErrors * Add some tests for tile_request_cache
Following on from #8780, move
catch
es to end of the promise chain to avoidTypeError: cache is not defined
in the subsequentthen
s.Launch checklist: