Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 7f60f6e

Browse filesBrowse files
committed
test pruning of global-level trace attributes on sankey
1 parent 7999517 commit 7f60f6e
Copy full SHA for 7f60f6e

File tree

Expand file treeCollapse file tree

1 file changed

+5
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+5
-0
lines changed

‎test/jasmine/bundle_tests/plotschema_test.js

Copy file name to clipboardExpand all lines: test/jasmine/bundle_tests/plotschema_test.js
+5Lines changed: 5 additions & 0 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.