Skip to content

Commit 45ae47d

Browse files
update kde line test
1 parent 37786d6 commit 45ae47d

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

test/jasmine/tests/violin_test.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,8 @@ describe('Test violin hover:', function() {
522522
it('should show in two-sided base case', function(done) {
523523
Plotly.plot(gd, fig).then(function() {
524524
mouseEvent('mousemove', 250, 250);
525-
assertViolinHoverLine([299.35, 250, 200.65, 250]);
525+
// assertViolinHoverLine([299.35, 250, 200.65, 250]);
526+
assertViolinHoverLine([178.67823028564453, 250, 80, 250]);
526527
})
527528
.catch(failTest)
528529
.then(done);
@@ -533,7 +534,8 @@ describe('Test violin hover:', function() {
533534

534535
Plotly.plot(gd, fig).then(function() {
535536
mouseEvent('mousemove', 300, 250);
536-
assertViolinHoverLine([299.35, 250, 250, 250]);
537+
// assertViolinHoverLine([299.35, 250, 250, 250]);
538+
assertViolinHoverLine([178.67823028564453, 250, 80, 250]);
537539
})
538540
.catch(failTest)
539541
.then(done);
@@ -544,7 +546,8 @@ describe('Test violin hover:', function() {
544546

545547
Plotly.plot(gd, fig).then(function() {
546548
mouseEvent('mousemove', 200, 250);
547-
assertViolinHoverLine([200.65, 250, 250, 250]);
549+
// assertViolinHoverLine([200.65, 250, 250, 250]);
550+
assertViolinHoverLine([321.3217315673828, 250, 420, 250]);
548551
})
549552
.catch(failTest)
550553
.then(done);

0 commit comments

Comments
 (0)