Skip to content

Commit 23bc199

Browse files
committed
add delay between sort-by-value tests
1 parent 4d89d1d commit 23bc199

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/jasmine/tests/calcdata_test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ var BADNUM = require('@src/constants/numerical').BADNUM;
44
var createGraphDiv = require('../assets/create_graph_div');
55
var destroyGraphDiv = require('../assets/destroy_graph_div');
66
var failTest = require('../assets/fail_test');
7+
var delay = require('../assets/delay');
78
var Lib = require('@src/lib');
89

910
describe('calculated data and points', function() {
@@ -985,6 +986,7 @@ describe('calculated data and points', function() {
985986
expect(gd._fullLayout[trace.type === 'splom' ? 'xaxis' : axName]._categories).toEqual(finalOrder, 'wrong order');
986987
}
987988
})
989+
.then(delay(100))
988990
.catch(failTest)
989991
.then(done);
990992
}

0 commit comments

Comments
 (0)