Skip to content

Conversation

@Xstoudi
Copy link
Contributor

@Xstoudi Xstoudi commented Dec 28, 2025

passed and error properties were left undocumented on TextContext class

Fixes: #59321
Refs: #51485 <-- passed and error implem
Refs: #59322 <-- Initial PR

PR was already made by someone else but closed prematurely even if valid, see second ref.
I removed this part, which seems wrong because I tested it and even Error instances end up wrapped:

The failure reason for the test/case; if anything other than an instance of Error was thrown, that will be wrapped

@nodejs-github-bot
Copy link
Collaborator

Review requested:

  • @nodejs/test_runner

@nodejs-github-bot nodejs-github-bot added doc Issues and PRs related to the documentations. test_runner Issues and PRs related to the test runner subsystem. labels Dec 28, 2025
@Xstoudi Xstoudi force-pushed the doc/test-context-missing-props branch 2 times, most recently from 51ed148 to dbb7ac8 Compare December 28, 2025 00:48
@Xstoudi
Copy link
Contributor Author

Xstoudi commented Dec 28, 2025

Also added attempt props that was added in 64355ae but not documented.

Copy link
Member

@avivkeller avivkeller left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! Unfortunately, there are some things that need to be corrected before this can land

@avivkeller
Copy link
Member

Additionally, please list the original author as a Co-Author

Xstoudi and others added 3 commits December 28, 2025 02:19
`passed` and `error` properties were left undocumented on `TextContext`
class

Fixes: nodejs#59321
Refs: nodejs#51485
Refs: nodejs#59322

Co-authored-by: SimonSchick <[email protected]>
@Xstoudi Xstoudi force-pushed the doc/test-context-missing-props branch from dbb7ac8 to 53458bd Compare December 28, 2025 01:19
@Xstoudi
Copy link
Contributor Author

Xstoudi commented Dec 28, 2025

done, thanks for the review

@avivkeller avivkeller added the commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. label Dec 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. doc Issues and PRs related to the documentations. test_runner Issues and PRs related to the test runner subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docs missing for TextContext passed and error properties public

4 participants