Skip to content

Commit de38b67

Browse files
committed
update geo delete trace test:
- now the geo is delete upon deleting the last trace
1 parent a71efa7 commit de38b67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/jasmine/tests/geo_interact_test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ describe('Test geo interactions', function() {
246246
}).then(function() {
247247
expect(countTraces('scattergeo')).toBe(0);
248248
expect(countTraces('choropleth')).toBe(0);
249-
expect(countGeos()).toBe(1);
249+
expect(countGeos()).toBe(0, '- trace-less geo subplot are deleted');
250250
expect(countColorBars()).toBe(0);
251251

252252
return Plotly.relayout(gd, 'geo', null);

0 commit comments

Comments
 (0)