-
Notifications
You must be signed in to change notification settings - Fork 29.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
console: display timeEnd with suitable time unit #29251
Commits on Aug 23, 2019
-
console: display timeEnd with suitable time unit
When timeEnd function is called, display result with a suitable time unit instead of a big amount of milliseconds. Refs: #29099
Configuration menu - View commit details
-
Copy full SHA for b00bdf6 - Browse repository at this point
Copy the full SHA b00bdf6View commit details -
console: extract formatTime and export it for test
Extract the format time part to be able to test it.
Configuration menu - View commit details
-
Copy full SHA for c4eb2d6 - Browse repository at this point
Copy the full SHA c4eb2d6View commit details -
Change regexp of test-console to accept other possible units and create test for formatTime
Configuration menu - View commit details
-
Copy full SHA for dc97305 - Browse repository at this point
Copy the full SHA dc97305View commit details -
console: don't trim formatTime value before returning it
Tests in test-console.js expect 3 floating points.
Configuration menu - View commit details
-
Copy full SHA for 106bbd4 - Browse repository at this point
Copy the full SHA 106bbd4View commit details -
test: adapt formatTime tests to previous commit
Assert that returnes value as 3 floating points
Configuration menu - View commit details
-
Copy full SHA for 510ef86 - Browse repository at this point
Copy the full SHA 510ef86View commit details -
Configuration menu - View commit details
-
Copy full SHA for 57bbc6c - Browse repository at this point
Copy the full SHA 57bbc6cView commit details -
Configuration menu - View commit details
-
Copy full SHA for c5063d0 - Browse repository at this point
Copy the full SHA c5063d0View commit details -
console: move magic numbers to constants
Hour, minute and second equivalent in ms are now constants.
Configuration menu - View commit details
-
Copy full SHA for 368e5d7 - Browse repository at this point
Copy the full SHA 368e5d7View commit details -
Configuration menu - View commit details
-
Copy full SHA for da4e02f - Browse repository at this point
Copy the full SHA da4e02fView commit details