-
Notifications
You must be signed in to change notification settings - Fork 25
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
Location mock #1453
Location mock #1453
Conversation
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 one!
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 just pushed one more test to ensure the location has a layer object assigned to it.
Looking good to me :)
Quality Gate passedIssues Measures |
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.
Description
We need the ability to pass in a custom template to the location.get() function. This can be used in different use cases. The main one at the moment is used to mock locations in the testing environment.
Type of Change
Please delete options that are not relevant, and select all options that apply.
How have you tested this?
Run the local tests and Look for the location: getTest.
Testing Checklist
Note that the user tests will fail with a public instance. This is something that still needs to be resolved by spoofing a user.