Skip to content

Commit 6711827

Browse files
committed
Lint obv
1 parent bfa5500 commit 6711827

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/jasmine/tests/hover_label_test.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -820,7 +820,7 @@ describe('hover updates', function() {
820820

821821
function assertLabelsCorrect(mousePos, labelPos, labelText) {
822822
return new Promise(function(resolve) {
823-
if (mousePos) {
823+
if(mousePos) {
824824
mouseEvent('mousemove', mousePos[0], mousePos[1]);
825825
}
826826

@@ -859,12 +859,12 @@ describe('hover updates', function() {
859859
Plotly.plot(gd, mock).then(function() {
860860
// The label text gets concatenated together when queried. Such is life.
861861
return assertLabelsCorrect([100, 100], [103, 100], 'trace 00.5');
862-
}).then(function () {
862+
}).then(function() {
863863
return Plotly.animate(gd, [{
864864
data: [{x: [0], y: [0]}, {x: [0.5], y: [0.5]}],
865865
traces: [0, 1],
866866
}], {frame: {redraw: false, duration: 0}});
867-
}).then(function () {
867+
}).then(function() {
868868
// No mouse event this time. Just change the data and check the label.
869869
// Ditto on concatenation. This is "trace 1" + "0.5"
870870
return assertLabelsCorrect(null, [103, 100], 'trace 10.5');

0 commit comments

Comments
 (0)