Skip to content

Commit 7f60f6e

Browse files
committed
test pruning of global-level trace attributes on sankey
1 parent 7999517 commit 7f60f6e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/jasmine/bundle_tests/plotschema_test.js

+5
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,11 @@ describe('plot schema', function() {
362362
expect(typeof splomAttrs.yaxes.items.regex).toBe('string');
363363
expect(splomAttrs.yaxes.items.regex).toBe('/^y([2-9]|[1-9][0-9]+)?$/');
364364
});
365+
366+
it('should prune unsupported global-level trace attributes', function() {
367+
expect(Plotly.PlotSchema.get().traces.sankey.attributes.hoverinfo.flags.length).toBe(0);
368+
});
369+
365370
});
366371

367372
describe('getTraceValObject', function() {

0 commit comments

Comments
 (0)