Skip to content

Commit 684df71

Browse files
committed
checking icon-rotate is in the layout
1 parent 5285343 commit 684df71

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/jasmine/tests/scattermapbox_test.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,9 @@ describe('scattermapbox convert', function() {
483483
var expected = [0, 90, 45, undefined, undefined];
484484
expect(symbolAngle).toEqual(expected, 'geojson properties');
485485

486-
expect(opts.symbol.layout['icon-allow-overlap']).toEqual(true, 'symbol layout');
486+
487+
expect(opts.symbol.layout['icon-rotate'].property).toEqual('angle', 'symbol.layout.icon-rotate');
488+
expect(opts.symbol.layout['icon-allow-overlap']).toEqual(true, 'symbol.layout.icon-allow-overlap');
487489
});
488490

489491

0 commit comments

Comments
 (0)