(topojson, loc, locationmode)
| 825 | |
| 826 | describe('geojson / topojson utils', function() { |
| 827 | function _locationToFeature(topojson, loc, locationmode) { |
| 828 | var trace = { locationmode: locationmode }; |
| 829 | var features = topojsonUtils.getTopojsonFeatures(trace, topojson); |
| 830 | |
| 831 | var feature = geoLocationUtils.locationToFeature(locationmode, loc, features); |
| 832 | return feature; |
| 833 | } |
| 834 | |
| 835 | describe('should be able to extract topojson feature from *locations* items', function() { |
| 836 | var topojsonName = 'world_110m'; |
no outgoing calls
no test coverage detected
searching dependent graphs…