Skip to content

test: update tap reporter version to 14 #44041

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

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/internal/test_runner/tap_stream.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class TapStream extends Readable {
}

version() {
this.#tryPush('TAP version 13\n');
this.#tryPush('TAP version 14\n');
}

#test(indent, testNumber, status, description, directive) {
Expand Down
2 changes: 1 addition & 1 deletion test/message/test_runner_abort.out
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
TAP version 13
TAP version 14
# Subtest: promise timeout signal
# Subtest: ok 1
ok 1 - ok 1
Expand Down
2 changes: 1 addition & 1 deletion test/message/test_runner_abort_suite.out
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
TAP version 13
TAP version 14
# Subtest: describe timeout signal
# Subtest: ok 1
ok 1 - ok 1
Expand Down
6 changes: 3 additions & 3 deletions test/message/test_runner_describe_it.out
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
TAP version 13
TAP version 14
# Subtest: sync pass todo
ok 1 - sync pass todo # TODO
---
Expand Down Expand Up @@ -116,9 +116,9 @@ not ok 13 - async assertion fail
failureType: 'testCodeFailure'
error: |-
Expected values to be strictly equal:

true !== false

code: 'ERR_ASSERTION'
stack: |-
*
Expand Down
2 changes: 1 addition & 1 deletion test/message/test_runner_no_refs.out
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
TAP version 13
TAP version 14
# Subtest: does not keep event loop alive
# Subtest: +does not keep event loop alive
not ok 1 - +does not keep event loop alive
Expand Down
2 changes: 1 addition & 1 deletion test/message/test_runner_only_tests.out
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
TAP version 13
TAP version 14
# Subtest: only = undefined
ok 1 - only = undefined # SKIP 'only' option not set
---
Expand Down
2 changes: 1 addition & 1 deletion test/message/test_runner_output.out
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
TAP version 13
TAP version 14
# Subtest: sync pass todo
ok 1 - sync pass todo # TODO
---
Expand Down
2 changes: 1 addition & 1 deletion test/message/test_runner_unresolved_promise.out
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
TAP version 13
TAP version 14
# Subtest: pass
ok 1 - pass
---
Expand Down
2 changes: 1 addition & 1 deletion tools/node_modules/eslint/lib/cli-engine/formatters/tap.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.