Skip to content

Commit a5a90f9

Browse files
committed
Add a comment to select_test.js test [1852]
1 parent 96fcdd7 commit a5a90f9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/jasmine/tests/select_test.js

+5
Original file line numberDiff line numberDiff line change
@@ -1307,6 +1307,11 @@ describe('Test select box and lasso in general:', function() {
13071307
})
13081308
.then(function() {
13091309
_assertSelectedPoints([49, 50, 51, 52, 53, 54, 55, 56, 57]);
1310+
1311+
// Note: although Shift has no behavioral effect on clearing a selection
1312+
// with a double click, users might hold the Shift key by accident.
1313+
// This test ensures selection is cleared as expected although
1314+
// the Shift key is held and no selection state is retained in any way.
13101315
return doubleClick(500, 200, { shiftKey: true });
13111316
})
13121317
.then(function() {

0 commit comments

Comments
 (0)