jejacks0n / teaspoon

Teaspoon: Javascript test runner for Rails. Use Selenium, BrowserStack, or PhantomJS.
1.43k stars 243 forks source link

Support use_coverage = true. Throw ex when !istanbul #353

Closed mikepack closed 9 years ago

mikepack commented 9 years ago

This PR does 2 things:

  1. Supports config.use_coverage = true which I feel is more intuitive with the default config. Adds docs.
  2. Throw an exception when istanbul is not available but coverage has been requested.