bebraw/bunit.js — pull request #1 by rdawe (2012-11-02 18:27:10+00:00)
Title: Fixes IE issue when setUp function not defined in tests

I've been trying out bunit, and it's been great so far. However, I found an issue with IE 8 that this pull request addresses. The issue is as follows:

1. Set up bunit with a single test case
2. Do not define a setUp function in the test case
3. Run the tests in IE 8

Expected: test case runs, reporting success/fail
Actual: IE reports "TypeError: Object expected"

This works fine in firefox and chrome. The issue appears to be IE not handling a missing return value.