Skip to content

Commit 6168912

Browse files
committed
Update debug code
1 parent d9f3f17 commit 6168912

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

test/jasmine/tests/sankey_test.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1146,7 +1146,8 @@ describe('sankey tests', function() {
11461146
return new Promise(function(resolve, reject) {
11471147
gd.once(eventType, function(d) {
11481148
Lib.clearThrottle();
1149-
console.log("FRANKENSTEIN", JSON.stringify(d))
1149+
const { label, value, pointNumber, x0, x1, y0, y1 } = d.points[0];
1150+
console.log('FRANKENSTEIN', { label, value, pointNumber, x0, x1, y0, y1 });
11501151
resolve(d);
11511152
});
11521153

0 commit comments

Comments
 (0)