(lengths)
| 894 | |
| 895 | it('@gl should be able to update traces', function(done) { |
| 896 | function assertDataPts(lengths) { |
| 897 | var lines = getGeoJsonData(gd, 'lines'); |
| 898 | var markers = getGeoJsonData(gd, 'markers'); |
| 899 | |
| 900 | lines.forEach(function(obj, i) { |
| 901 | expect(obj.coordinates[0].length).toEqual(lengths[i]); |
| 902 | }); |
| 903 | |
| 904 | markers.forEach(function(obj, i) { |
| 905 | expect(obj.features.length).toEqual(lengths[i]); |
| 906 | }); |
| 907 | } |
| 908 | |
| 909 | assertDataPts([3, 3]); |
| 910 |
no test coverage detected
searching dependent graphs…