Skip to content

Commit ca6661c

Browse files
committed
sankey: test that eventData has appropriate flow statistics keys
1 parent c976dbb commit ca6661c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/jasmine/tests/sankey_test.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -830,6 +830,11 @@ describe('sankey tests', function() {
830830
expect(pt.hasOwnProperty('source')).toBeTruthy();
831831
expect(pt.hasOwnProperty('target')).toBeTruthy();
832832
expect(pt.hasOwnProperty('flow')).toBeTruthy();
833+
834+
expect(pt.flow.hasOwnProperty('concentration')).toBeTruthy();
835+
expect(pt.flow.hasOwnProperty('labelConcentration')).toBeTruthy();
836+
expect(pt.flow.hasOwnProperty('value')).toBeTruthy();
837+
expect(pt.flow.hasOwnProperty('links')).toBeTruthy();
833838
})
834839
.then(function() { return _unhover('node'); })
835840
.then(function(d) {

0 commit comments

Comments
 (0)