juliemr/minijasminenode — pull request #5 by alanmyrvold (2013-09-30 22:01:41+00:00)
Title: Catch loading errors in specs, including syntax errors, and report them as failures during test execution

Currently errors when loading specs, including javascript syntax errors, result in passing tests in the test runner, which isn't ideal.

There is a try/catch in lib/index.js, so assuming you want other specs to run when some specs have errors in loading?

In this change I create a new describe/it to represent the failure when loading the spec.

An alternative change would be to remove the try/catch or re-throw the exception.