Skip to content

Commit 2c04994

Browse files
committed
lint: space out .then clauses
1 parent f4ca110 commit 2c04994

File tree

1 file changed

+16
-8
lines changed

1 file changed

+16
-8
lines changed

test/jasmine/tests/hover_label_test.js

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -653,21 +653,29 @@ describe('hover after resizing', function() {
653653

654654
Plotly.plot(gd, data, layout).then(function() {
655655
return assertLabelCount(pos0, 1, 'before resize, showing pt label');
656-
}).then(function() {
656+
})
657+
.then(function() {
657658
return assertLabelCount(pos1, 0, 'before resize, not showing blank spot');
658-
}).then(function() {
659+
})
660+
.then(function() {
659661
return Plotly.relayout(gd, 'width', 500);
660-
}).then(function() {
662+
})
663+
.then(function() {
661664
return assertLabelCount(pos0, 0, 'after resize, not showing blank spot');
662-
}).then(function() {
665+
})
666+
.then(function() {
663667
return assertLabelCount(pos1, 1, 'after resize, showing pt label');
664-
}).then(function() {
668+
})
669+
.then(function() {
665670
return Plotly.relayout(gd, 'width', 600);
666-
}).then(function() {
671+
})
672+
.then(function() {
667673
return assertLabelCount(pos0, 1, 'back to initial, showing pt label');
668-
}).then(function() {
674+
})
675+
.then(function() {
669676
return assertLabelCount(pos1, 0, 'back to initial, not showing blank spot');
670-
}).then(done);
677+
})
678+
.then(done);
671679
});
672680
});
673681

0 commit comments

Comments
 (0)