Skip to content
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

Discussion: assert.CallTracker future #47492

Closed
MoLow opened this issue Apr 9, 2023 · 3 comments · Fixed by #47740
Closed

Discussion: assert.CallTracker future #47492

MoLow opened this issue Apr 9, 2023 · 3 comments · Fixed by #47740
Labels
assert Issues and PRs related to the assert subsystem. discuss Issues opened for discussions and feedbacks.

Comments

@MoLow
Copy link
Member

MoLow commented Apr 9, 2023

assert.CallTracker has been added three years ago,
it has been marked as experimental a few weeks later

there is now also an alternative subset mock within node:test: https://nodejs.org/api/test.html#mocking

after such a long time as an experimental API, I suggest we should decide if assert.CallTracker should exit experimental stage or should be deprecated in favor of mock

@MoLow MoLow added assert Issues and PRs related to the assert subsystem. discuss Issues opened for discussions and feedbacks. labels Apr 9, 2023
@MoLow
Copy link
Member Author

MoLow commented Apr 9, 2023

CC @nodejs/assert

@jasnell
Copy link
Member

jasnell commented Apr 10, 2023

I think deprecating it makes sense. I'd hoped that it would progress but the interest never materialized.

@ErickWendel
Copy link
Member

+1 for deprecating it

nodejs-github-bot pushed a commit that referenced this issue Apr 29, 2023
PR-URL: #47740
Fixes: #47492
Reviewed-By: Erick Wendel <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: James M Snell <[email protected]>
yjl9903 pushed a commit to yjl9903/node that referenced this issue Apr 29, 2023
PR-URL: nodejs#47740
Fixes: nodejs#47492
Reviewed-By: Erick Wendel <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: James M Snell <[email protected]>
targos pushed a commit that referenced this issue May 2, 2023
PR-URL: #47740
Fixes: #47492
Reviewed-By: Erick Wendel <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: James M Snell <[email protected]>
targos pushed a commit that referenced this issue May 3, 2023
PR-URL: #47740
Fixes: #47492
Reviewed-By: Erick Wendel <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: James M Snell <[email protected]>
MoLow added a commit to MoLow/node that referenced this issue Jul 6, 2023
PR-URL: nodejs#47740
Fixes: nodejs#47492
Reviewed-By: Erick Wendel <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: James M Snell <[email protected]>
MoLow added a commit to MoLow/node that referenced this issue Jul 6, 2023
PR-URL: nodejs#47740
Fixes: nodejs#47492
Reviewed-By: Erick Wendel <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: James M Snell <[email protected]>
MoLow added a commit to MoLow/node that referenced this issue Jul 9, 2023
PR-URL: nodejs#47740
Fixes: nodejs#47492
Reviewed-By: Erick Wendel <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: James M Snell <[email protected]>
MoLow added a commit to MoLow/node that referenced this issue Jul 9, 2023
PR-URL: nodejs#47740
Fixes: nodejs#47492
Reviewed-By: Erick Wendel <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: James M Snell <[email protected]>
MoLow added a commit to MoLow/node that referenced this issue Jul 9, 2023
PR-URL: nodejs#47740
Fixes: nodejs#47492
Reviewed-By: Erick Wendel <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assert Issues and PRs related to the assert subsystem. discuss Issues opened for discussions and feedbacks.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants