Skip to content

Commit 8a2d707

Browse files
committed
parcoords interaction test - should not stick to min max ranges when moving constraint below or above
1 parent 3e8ab96 commit 8a2d707

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/jasmine/tests/parcoords_test.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1496,8 +1496,7 @@ describe('parcoords constraint interactions', function() {
14961496
.then(delay(noSnapDelay))
14971497
.then(function() {
14981498
expect(getDashArray(1)).toBeCloseToArray(newDashArray);
1499-
// TODO: ideally this would get clipped to [0, 9]...
1500-
expect(gd.data[0].dimensions[1].constraintrange).toBeCloseToArray([-0.1020, 9]);
1499+
expect(gd.data[0].dimensions[1].constraintrange).toBeCloseToArray([-2.913369429404415, 9]);
15011500
})
15021501
.catch(failTest)
15031502
.then(done);

0 commit comments

Comments
 (0)