We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4227e4 commit e43d0f8Copy full SHA for e43d0f8
test/jasmine/tests/sliders_test.js
@@ -334,13 +334,13 @@ describe('sliders interactions', function() {
334
d3.select(gd).selectAll('.slider-group').each(function(d, i) {
335
var sliderBB = this.getBoundingClientRect();
336
var gdBB = gd.getBoundingClientRect();
337
+
338
if(i === 0) {
339
expect(sliderBB.left - gdBB.left)
- .toBeWithin(12, 3, 'left: ' + msg);
340
- }
341
- else {
+ .toBeWithin(12, 5.1, 'left: ' + msg);
+ } else {
342
expect(gdBB.bottom - sliderBB.bottom)
343
- .toBeWithin(8, 3, 'bottom: ' + msg);
+ .toBeWithin(8, 5.1, 'bottom: ' + msg);
344
}
345
});
346
0 commit comments