Skip to content

Commit

Permalink
increase timeout to 1 minute
Browse files Browse the repository at this point in the history
  • Loading branch information
vladminsky committed May 15, 2015
1 parent 2ba14c1 commit 0507b9f
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions test/chart-map.test.js
Expand Up @@ -7,6 +7,8 @@ define(function (require) {

describe('Map chart', function () {

var drawTimeout = 60000;

var testData = [
{x: 1, y: 1, color: 'red', size: 6, cc: 'USA'},
{x: 0.5, y: 0.5, color: 'green', size: 6, cc: 'RUS'},
Expand Down Expand Up @@ -179,8 +181,8 @@ define(function (require) {

it('should draw by lat-lon', function (done) {

this.timeout(15000);
setTimeout(done, 15000);
this.timeout(drawTimeout);
setTimeout(done, drawTimeout);

var chart0 = new tauChart.Chart({
type: 'map',
Expand All @@ -201,8 +203,8 @@ define(function (require) {

it('should draw by code', function (done) {

this.timeout(15000);
setTimeout(done, 15000);
this.timeout(drawTimeout);
setTimeout(done, drawTimeout);

var chart1 = new tauChart.Chart({
type: 'map',
Expand All @@ -221,8 +223,8 @@ define(function (require) {

it('should draw by code and lat-lon', function (done) {

this.timeout(15000);
setTimeout(done, 15000);
this.timeout(drawTimeout);
setTimeout(done, drawTimeout);

var chart2 = new tauChart.Chart({
type: 'map',
Expand Down

0 comments on commit 0507b9f

Please sign in to comment.