(exp)
| 549 | var vals = ['locations', 'geojson']; |
| 550 | |
| 551 | function _assert(exp) { |
| 552 | expect(layoutOut.geo.projection.scale).toBe(exp['projection.scale'], 'projection.scale'); |
| 553 | expect(layoutOut.geo.center.lon).toBe(exp['center.lon'], 'center.lon'); |
| 554 | expect(layoutOut.geo.center.lat).toBe(exp['center.lat'], 'center.lat'); |
| 555 | expect(layoutOut.geo.projection.rotation.lon).toBe(exp['projection.rotation.lon'], 'projection.rotation.lon'); |
| 556 | expect(layoutOut.geo.projection.rotation.lat).toBe(exp['projection.rotation.lat'], 'projection.rotation.lat'); |
| 557 | expect(layoutOut.geo.lonaxis.range).withContext('lonaxis.range').toEqual(exp['lonaxis.range'], 'lonaxis.range'); |
| 558 | expect(layoutOut.geo.lataxis.range).withContext('lataxis.range').toEqual(exp['lataxis.range'], 'lataxis.range'); |
| 559 | } |
| 560 | |
| 561 | describe('- for scoped maps', function() { |
| 562 | it('fitbounds:false (base case)', function() { |
no test coverage detected
searching dependent graphs…