Skip to content

Commit 15b7d37

Browse files
committed
fix range_slider_test after merging PR 4448
1 parent 2f0bf80 commit 15b7d37

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

test/jasmine/tests/range_slider_test.js

+2-4
Original file line numberDiff line numberDiff line change
@@ -192,8 +192,7 @@ describe('Visible rangesliders', function() {
192192
expect(+maskMin.getAttribute('width')).toBeCloseTo(-diff);
193193
testTranslate1D(handleMin, dataMaxStart + diff);
194194
})
195-
.catch(failTest)
196-
.then(done);
195+
.then(done, done.fail);
197196
});
198197

199198
it('should not exceed slider bounds left to right', function(done) {
@@ -210,8 +209,7 @@ describe('Visible rangesliders', function() {
210209
.then(function() {
211210
expect(gd.layout.xaxis.range).toBeCloseToArray([0, 49], -0.5);
212211
})
213-
.catch(failTest)
214-
.then(done);
212+
.then(done, done.fail);
215213
});
216214

217215
it('should not exceed slider bounds right to left', function(done) {

0 commit comments

Comments
 (0)