Closed kacper-cyra closed 1 year ago
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
src/components/Map/components/LocationControl/LocationControl.jsx | 0 | 18 | 0.0% | ||
<!-- | Total: | 0 | 18 | 0.0% | --> |
Totals | |
---|---|
Change from base Build 3995591653: | -10.3% |
Covered Lines: | 35 |
Relevant Lines: | 88 |
Mentioned problem with Mozilla Firefox was result of wrong test. You can forget about it.
Please update version of app to '0.1.7' in package.json so after merge we'll be able to release this version.
Looks good :+1:
There is no unit test for this component as it is fully dependent on Leaflet and browser geolocation API, and because of this there would be plenty of mocking and this case suit would be pretty useless. My proposition is to cover this in suit of e2e or integration test for whole map component.
There was mention of problem with Mozilla Firefox not saving permission on locating user. On macOS I could not reproduce. After selecting remember decision I did not get a popup on new enter.
closes #23