File tree 1 file changed +8
-13
lines changed
1 file changed +8
-13
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ var gm = require('gm');
12
12
var TOLERANCE = 1e-6 ; // pixel comparison tolerance
13
13
var BASE_TIMEOUT = 500 ; // base timeout time
14
14
var BATCH_SIZE = 5 ; // size of each test 'batch'
15
+
15
16
var touch = function ( fileName ) {
16
17
fs . closeSync ( fs . openSync ( fileName , 'w' ) ) ;
17
18
} ;
@@ -36,25 +37,19 @@ function runAll() {
36
37
37
38
var allMocks = fs . readdirSync ( constants . pathToTestImageMocks ) ;
38
39
39
- /*
40
- * Some test cases exhibit run-to-run randomness;
41
- * skip over these few test cases for now.
40
+ /* Test cases:
41
+ *
42
+ * - font-wishlist
43
+ * - all gl2d
42
44
*
43
- * More info:
44
- * https://github.com/plotly/plotly.js/issues/62
45
+ * don't behave consistently from run-to-run and/or
46
+ * machine-to-machine; skip over them.
45
47
*
46
- * 41 test cases are removed:
47
- * - font-wishlist (1 test case)
48
- * - all gl2d (38)
49
- * - gl3d_bunny-hull (1)
50
- * - polar_scatter (1)
51
48
*/
52
49
var mocks = allMocks . filter ( function ( mock ) {
53
50
return ! (
54
51
mock === 'font-wishlist.json' ||
55
- mock . indexOf ( 'gl2d' ) !== - 1 ||
56
- mock === 'gl3d_bunny-hull.json' ||
57
- mock === 'polar_scatter.json'
52
+ mock . indexOf ( 'gl2d' ) !== - 1
58
53
) ;
59
54
} ) ;
60
55
You can’t perform that action at this time.
0 commit comments