xolvio / meteor-rtd-example-project

A template project to use for creating a meteor app with unit and webdriver testing
91 stars 27 forks source link

Jasmine timeout setting #23

Closed bowlesdr closed 11 years ago

bowlesdr commented 11 years ago

I was frequently getting the following error once I started modifying this project to test my application: timeout: timed out after 5000 msec waiting for spec to complete

There is a setting in test/acceptance/leaderboard.spec.js: jasmine.DEFAULT_TIMEOUT_INTERVAL = 20000;

I have found that changing it to the following eliminates my timeout errors: jasmine.getEnv().defaultTimeoutInterval = 20000;

xolvio commented 11 years ago

Thank you, I'll update and report back here

xolvio commented 11 years ago

This has been committed now. Thank you