test: add note about duration_ms in TAP reporter
PR-URL: https://github.com/nodejs/node/pull/7216 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michaël Zasso <mic.besace@gmail.com> Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
This commit is contained in:
parent
1d4c7993a9
commit
05de4d78a6
@ -309,6 +309,8 @@ class TapProgressIndicator(SimpleProgressIndicator):
|
||||
total_seconds = (duration.microseconds +
|
||||
(duration.seconds + duration.days * 24 * 3600) * 10**6) / 10**6
|
||||
|
||||
# duration_ms is measured in seconds and is read as such by TAP parsers.
|
||||
# It should read as "duration including ms" rather than "duration in ms"
|
||||
logger.info(' ---')
|
||||
logger.info(' duration_ms: %d.%d' % (total_seconds, duration.microseconds / 1000))
|
||||
logger.info(' ...')
|
||||
|
Loading…
x
Reference in New Issue
Block a user