Skip to content

Commit fe62eb8

Browse files
committed
loosen click_test slightly so it passes locally
1 parent f7c3279 commit fe62eb8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: test/jasmine/tests/click_test.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -1059,17 +1059,17 @@ describe('Test click interactions:', function() {
10591059
width: 600,
10601060
height: 600
10611061
}).then(function() {
1062-
expect(gd.layout.xaxis.range).toBeCloseToArray([1, 2.068]);
1062+
expect(gd.layout.xaxis.range).toBeCloseToArray([1, 2.068], 1);
10631063

10641064
return doubleClick(300, 300);
10651065
})
10661066
.then(function() {
1067-
expect(gd.layout.xaxis.range).toBeCloseToArray([-0.2019, 3.249]);
1067+
expect(gd.layout.xaxis.range).toBeCloseToArray([-0.2019, 3.249], 1);
10681068

10691069
return doubleClick(300, 300);
10701070
})
10711071
.then(function() {
1072-
expect(gd.layout.xaxis.range).toBeCloseToArray([1, 2.068]);
1072+
expect(gd.layout.xaxis.range).toBeCloseToArray([1, 2.068], 1);
10731073
})
10741074
.then(done, done.fail);
10751075
});

0 commit comments

Comments
 (0)