Unifes assertSnapshot common patterns like platform specific path separators, line ending, line trailing spaces, Node.js version strings, and pids in warning messages. PR-URL: https://github.com/nodejs/node/pull/61590 Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day>
32 lines
1.2 KiB
Text
32 lines
1.2 KiB
Text
TAP version 13
|
|
# Subtest: Coverage Print Fixed Width 80
|
|
ok 1 - Coverage Print Fixed Width 80
|
|
---
|
|
duration_ms: *
|
|
type: 'test'
|
|
...
|
|
1..1
|
|
# tests 1
|
|
# suites 0
|
|
# pass 1
|
|
# fail 0
|
|
# cancelled 0
|
|
# skipped 0
|
|
# todo 0
|
|
# duration_ms *
|
|
# start of coverage report
|
|
# ------------------------------------------------------------------------------
|
|
# file | line % | branch % | funcs % | uncovered lines
|
|
# ------------------------------------------------------------------------------
|
|
# test | | | |
|
|
# fixtures | | | |
|
|
# test-runner | | | |
|
|
# coverage-snap | | | |
|
|
# a.js | 55.77 | 100.00 | 0.00 | 5-7 9-11 13-15 17-…
|
|
# b.js | 45.45 | 100.00 | 0.00 | 5-7 9-11
|
|
# output | | | |
|
|
# coverage-width-80.mjs | 100.00 | 100.00 | 100.00 |
|
|
# ------------------------------------------------------------------------------
|
|
# all files | 61.84 | 100.00 | 0.00 |
|
|
# ------------------------------------------------------------------------------
|
|
# end of coverage report
|