vlucas / frisby

Frisby is a REST API testing framework built on Jest that makes testing API endpoints easy, fast, and fun.
http://frisbyjs.com
1.53k stars 201 forks source link

Set timeout at the request level #496

Open bgroupe opened 6 years ago

bgroupe commented 6 years ago

Hi and thanks for making Frisby :)

I know there is an open issue for documentation but it took me some time and frustration to figure out that you cannot specify timeout as an option to .fetch because it is read from the FrisbySpec. It would have been nice to have this called out in the documentation. It would also be nice to be able to set timeouts with .fetch for individual requests.