visionmedia/mocha — pull request #1222 by gaye (2014-05-22 17:41:34+00:00)
Title: Add filenames to Suite objects

In issue #950 we added 3dd1cdbb695f0489e03171c0874f4ccfb7347893 to export filenames on Test objects so that they could be made available to reporters which want to map failures to specific test files. That patch did not address the case where a test fails during a `setup` or `teardown` type block. This commit exports the filename directly on Suite objects in addition to Test ones so that test failures during `setup` and `teardown` routines may also be traced to specific test files.