Skip to content

Commit 8a5f221

Browse files
committed
fix multipolygon test
1 parent f4de36e commit 8a5f221

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/jasmine/tests/choroplethmapbox_test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ describe('Test choroplethmapbox convert:', function() {
499499
var coordsIn = [
500500
[
501501
// this one has the bigger area
502-
[[30, 20], [45, 40], [10, 40], [30, 20]]
502+
[[30, 20], [47, 40], [10, 33], [30, 20]]
503503
],
504504
[
505505
[[15, 5], [40, 10], [10, 20], [5, 10], [15, 5]]
@@ -512,7 +512,7 @@ describe('Test choroplethmapbox convert:', function() {
512512
var opts = convertModule.convert(calcTrace);
513513

514514
expect(opts.geojson.features[0].geometry.coordinates).toBe(coordsIn);
515-
expect(calcTrace[0].ct).toEqual([28.75, 30]);
515+
expect(calcTrace[0].ct).toEqual([29, 31]);
516516
});
517517
});
518518

0 commit comments

Comments
 (0)