Open
Description
openedon May 9, 2012
My beforeEach functions are pretty slow, and sometimes even dominate test time. (I set up test fixture data and initialize an Ember app.) But the little timing badges that show up in the browser (above 50ms or so) do not include this time, they only seem to measure the time of the test functions themselves.
I'm thinking that it would be sensible for the badges to include the beforeEach/afterEach time.
(Perhaps there are also other parts where these timings are used, like timeouts -- I'm fairly new to mocha.)
What do you think?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment