Skip to content

Commit afbdc83

Browse files
committed
Solved bug on Path testing
1 parent 6cf8082 commit afbdc83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/unit/pathsDirectiveSpec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ describe('Directive: leaflet', function() {
7373
$rootScope.$digest();
7474
leafletData.getPaths().then(function(paths) {
7575
var polylines = paths.p1;
76-
latlngs = polylines.getLatLngs();
76+
var latlngs = polylines.getLatLngs();
7777
expect(latlngs[0][0].lat).toBeCloseTo(0.966);
7878
expect(latlngs[0][0].lng).toBeCloseTo(2.02);
7979
expect(latlngs[0][1].lat).toBeCloseTo(2.02);

0 commit comments

Comments
 (0)