Skip to content

Commit afd5fac

Browse files
committed
set and increase jasmine timout before each gl test
1 parent a159b27 commit afd5fac

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

test/jasmine/tests/parcoords_test.js

+10-7
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ describe('parcoords initialization tests', function() {
363363
describe('parcoords edge cases', function() {
364364
var gd;
365365
beforeEach(function() {
366-
jasmine.DEFAULT_TIMEOUT_INTERVAL = 10000;
366+
jasmine.DEFAULT_TIMEOUT_INTERVAL = 15000;
367367

368368
gd = createGraphDiv();
369369
});
@@ -636,7 +636,10 @@ describe('parcoords edge cases', function() {
636636

637637
describe('parcoords Lifecycle methods', function() {
638638
var gd;
639-
beforeEach(function() { gd = createGraphDiv(); });
639+
beforeEach(function() {
640+
jasmine.DEFAULT_TIMEOUT_INTERVAL = 15000;
641+
gd = createGraphDiv();
642+
});
640643
afterEach(destroyGraphDiv);
641644

642645
it('Plotly.deleteTraces with one trace removes the plot', function(done) {
@@ -896,7 +899,7 @@ describe('parcoords basic use', function() {
896899
var gd;
897900

898901
beforeEach(function() {
899-
jasmine.DEFAULT_TIMEOUT_INTERVAL = 10000;
902+
jasmine.DEFAULT_TIMEOUT_INTERVAL = 15000;
900903

901904
mockCopy = Lib.extendDeep({}, mock);
902905
mockCopy.data[0].domain = {
@@ -1212,6 +1215,7 @@ describe('parcoords react more attributes', function() {
12121215
var gd;
12131216

12141217
beforeEach(function() {
1218+
jasmine.DEFAULT_TIMEOUT_INTERVAL = 15000;
12151219
gd = createGraphDiv();
12161220
});
12171221

@@ -1357,8 +1361,6 @@ describe('parcoords constraint interactions - without defined axis ranges', func
13571361
var snapDelay = 100;
13581362
var noSnapDelay = 20;
13591363
beforeAll(function() {
1360-
jasmine.DEFAULT_TIMEOUT_INTERVAL = 10000;
1361-
13621364
initialSnapDuration = PC.bar.snapDuration;
13631365
PC.bar.snapDuration = shortenedSnapDuration;
13641366
});
@@ -1369,6 +1371,7 @@ describe('parcoords constraint interactions - without defined axis ranges', func
13691371
});
13701372

13711373
beforeEach(function() {
1374+
jasmine.DEFAULT_TIMEOUT_INTERVAL = 15000;
13721375
gd = createGraphDiv();
13731376
});
13741377

@@ -1643,8 +1646,6 @@ describe('parcoords constraint interactions - with defined axis ranges', functio
16431646
var shortenedSnapDuration = 20;
16441647
var noSnapDelay = 20;
16451648
beforeAll(function() {
1646-
jasmine.DEFAULT_TIMEOUT_INTERVAL = 10000;
1647-
16481649
initialSnapDuration = PC.bar.snapDuration;
16491650
PC.bar.snapDuration = shortenedSnapDuration;
16501651
});
@@ -1655,6 +1656,7 @@ describe('parcoords constraint interactions - with defined axis ranges', functio
16551656
});
16561657

16571658
beforeEach(function() {
1659+
jasmine.DEFAULT_TIMEOUT_INTERVAL = 15000;
16581660
gd = createGraphDiv();
16591661
});
16601662

@@ -1737,6 +1739,7 @@ describe('parcoords constraint click interactions - with pre-defined constraint
17371739
});
17381740

17391741
beforeEach(function() {
1742+
jasmine.DEFAULT_TIMEOUT_INTERVAL = 15000;
17401743
gd = createGraphDiv();
17411744
});
17421745

0 commit comments

Comments
 (0)