qunitjs / js-reporters

📋 Common Reporter Interface (CRI) for JavaScript testing frameworks.
MIT License
60 stars 18 forks source link

Standardize tests run time to match with the reference data #53

Closed flore77 closed 8 years ago

flore77 commented 8 years ago

@jzaefferer I would like to take care on this pr of the tests runtime. In the ref data file the runtime is 0, Mocha runs them in 0 milliseconds, but it can happen that it will run them in 1 milliseconds (I think that it cannot take more than this, because there are simple tests, some of them also void). As a solution, I think to write one test that checks that all test's run times are in the range 0 - 1 milliseconds, and then put all run times on 0 for the deep equal check.

flore77 commented 8 years ago

@jzaefferer done.

jzaefferer commented 8 years ago

👍