Skip to content

Commit 63d9314

Browse files
committed
minor: test case improv
1 parent e169ae9 commit 63d9314

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/jasmine/tests/parcoords_test.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -793,6 +793,8 @@ describe('parcoords', function() {
793793
var gd = createGraphDiv();
794794
var mockCopy = Lib.extendDeep({}, mock);
795795
var mockCopy2 = Lib.extendDeep({}, mock);
796+
mockCopy.data[0].domain = {x: [0, 0.45]};
797+
mockCopy2.data[0].domain = {x: [0.55, 1]};
796798
mockCopy2.data[0].dimensions.splice(3, 4);
797799

798800
expect(document.querySelectorAll('.parcoords-line-layers').length).toEqual(0);
@@ -821,6 +823,8 @@ describe('parcoords', function() {
821823
var gd = createGraphDiv();
822824
var mockCopy = Lib.extendDeep({}, mock);
823825
var mockCopy2 = Lib.extendDeep({}, mock);
826+
mockCopy.data[0].domain = {y: [0, 0.35]};
827+
mockCopy2.data[0].domain = {y: [0.65, 1]};
824828
mockCopy2.data[0].dimensions.splice(3, 4);
825829

826830
expect(document.querySelectorAll('.parcoords-line-layers').length).toEqual(0);

0 commit comments

Comments
 (0)