-
-
Notifications
You must be signed in to change notification settings - Fork 59
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
Create tests using leaflet mock #6
Comments
Could be a nice way to brush up my testing skills, i'll give it a try :) |
sounds great! |
Unfortunately i cannot see the promiseToZoomIn func under lib/map.js, is it not merged to master yet? |
sorry about that! that must have changed since this isssue was created want to do promiseToFlyTo? gatsby-starter-leaflet/src/lib/map.js Line 6 in d20d304
|
Sure :) |
I already see that you have a unit test for this functionality in map.test.js, are you sure you also need a cypress test for that? |
if you think we're comfortably covered then we can close this out @RonnyNovik apologies if thats the case, this Issue must just be stale then happy to accept any other coverage if you find any thats needed between Jest and Cypress |
Create some tests using the Leaflet mock under
tests/__mocks__
.Particularly, can start with mocking out a map and testing functionality for
promiseToZoomIn
available inlib/map
.The text was updated successfully, but these errors were encountered: