Skip to content

Commit d1992b4

Browse files
committed
try adding long timeout (for mapbox)
1 parent 9ba473d commit d1992b4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/jasmine/bundle_tests/minified_bundle_test.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
var MAPBOX_ACCESS_TOKEN = require('@build/credentials.json').MAPBOX_ACCESS_TOKEN;
44
var mockLists = require('../assets/mock_lists');
55

6+
// only needed for mapbox subplots
7+
var LONG_TIMEOUT_INTERVAL = 5 * jasmine.DEFAULT_TIMEOUT_INTERVAL;
8+
69
describe('Test plotly.min.js', function() {
710
'use strict';
811

@@ -20,6 +23,6 @@ describe('Test plotly.min.js', function() {
2023
mockLists.all.forEach(function(mockSpec) {
2124
it('can plot "' + mockSpec[0] + '"', function(done) {
2225
Plotly.newPlot(gd, mockSpec[1]).catch(fail).then(done);
23-
});
26+
}, LONG_TIMEOUT_INTERVAL);
2427
});
2528
});

0 commit comments

Comments
 (0)