Skip to content
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

Add test mock for google api geocoder #358

Closed
wants to merge 1 commit into from

Conversation

nstjean
Copy link
Contributor

@nstjean nstjean commented Jan 21, 2020

Fixes #357 (<=== Add issue number here)

This is the same fix as in LBLD publiclab/leaflet-blurred-location-display#93

Copy link
Collaborator

@sagarpreet-chadha sagarpreet-chadha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @nstjean 😄 !!!

@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<title>Jasmine Spec Runner</title>
<link rel="shortcut icon" type="image/png" href=".grunt\grunt-contrib-jasmine\jasmine_favicon.png">
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file should be generated on run-time ideally, but let it be there.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's weird that it changed that line, I didn't touch that file. I don't think this file exists in LBLD, I wonder if it's actually using it at all? The jasmine.json file existed but was totally ignored by Jasmine.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes I was right... I can delete that file and it doesn't affect the tests at all. It is being generated at runtime.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Which is to say, it gets re-generated at runtime.

@@ -52,7 +52,7 @@
"dependencies": {
"jquery": "^3.3.1",
"leaflet": "^1.3.1",
"leaflet-blurred-location": "git://github.com/publiclab/leaflet-blurred-location#main",
"leaflet-blurred-location": "git://github.com/publiclab/leaflet-blurred-location.git#main",
"leaflet-fullhash": "github:sagarpreet-chadha/leaflet-fullHash",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

leaflet-fullhash @nstjean @crisner
We can remove this package now, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Which one, leaflet-fullhash?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, It is not used in LEL anymore.

@nstjean
Copy link
Contributor Author

nstjean commented Jan 21, 2020

This may no longer be needed, see my comment on publiclab/leaflet-blurred-location#235 (comment)

@nstjean
Copy link
Contributor Author

nstjean commented Jan 28, 2020

This is no longer needed after publiclab/leaflet-blurred-location#235

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tests fail when bump LBL to 1.6.0
3 participants