Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit4b39fec

Browse files
committed
adjust tests
1 parent297ad88 commit4b39fec

File tree

1 file changed

+2
-16
lines changed

1 file changed

+2
-16
lines changed

‎test/jasmine/tests/select_test.js‎

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2641,8 +2641,6 @@ describe('Test select box and lasso per trace:', function() {
26412641
it('@noCI should work for waterfall traces, hasCssTransform: '+hasCssTransform,function(done){
26422642
varassertPoints=makeAssertPoints(['curveNumber','x','y']);
26432643
varassertSelectedPoints=makeAssertSelectedPoints();
2644-
varassertRanges=makeAssertRanges();
2645-
varassertLassoPoints=makeAssertLassoPoints();
26462644

26472645
varfig=Lib.extendDeep({},require('../../image/mocks/waterfall_profit-loss_2018_positive-negative'));
26482646
fig.layout.dragmode='lasso';
@@ -2657,14 +2655,11 @@ describe('Test select box and lasso per trace:', function() {
26572655
function(){
26582656
assertPoints([
26592657
[0,281,'Purchases'],
2660-
[0,269,'Material expenses'],]);
2658+
[0,269,'Material expenses'],
2659+
]);
26612660
assertSelectedPoints({
26622661
0:[5,6]
26632662
});
2664-
assertLassoPoints([
2665-
[289.8550,57.9710,521.7391,405.7971],
2666-
[4.3387,6.7580,6.7580,5.5483]
2667-
]);
26682663
},
26692664
null,[3,2,1],'waterfall lasso'
26702665
);
@@ -2683,10 +2678,6 @@ describe('Test select box and lasso per trace:', function() {
26832678
assertSelectedPoints({
26842679
0:[5,6]
26852680
});
2686-
assertRanges([
2687-
[173.9130,289.8550],
2688-
[4.3387,6.7580]
2689-
]);
26902681
},
26912682
null,BOXEVENTS,'waterfall select'
26922683
);
@@ -2699,7 +2690,6 @@ describe('Test select box and lasso per trace:', function() {
26992690
it('@noCI should work for funnel traces, hasCssTransform: '+hasCssTransform,function(done){
27002691
varassertPoints=makeAssertPoints(['curveNumber','x','y']);
27012692
varassertSelectedPoints=makeAssertSelectedPoints();
2702-
varassertLassoPoints=makeAssertLassoPoints();
27032693

27042694
varfig=Lib.extendDeep({},require('../../image/mocks/funnel_horizontal_group_basic'));
27052695
fig.layout.dragmode='lasso';
@@ -2720,10 +2710,6 @@ describe('Test select box and lasso per trace:', function() {
27202710
0:[2],
27212711
1:[1]
27222712
});
2723-
assertLassoPoints([
2724-
[-140.1492,-1697.3631,1417.0646,638.4577],
2725-
[1.1129,1.9193,1.9193,1.5161]
2726-
]);
27272713
},
27282714
null,[3,2,1],'funnel lasso'
27292715
);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp