test_runner: add enqueue and dequeue events#48428
test_runner: add enqueue and dequeue events#48428nodejs-github-bot merged 1 commit intonodejs:mainfrom
Conversation
|
Review requested:
|
|
@sankalp1999 FWIW, if you want to complete the work on #47797 I will close this PR |
|
@MoLow sorry, I couldn't find the time. I think you can continue with this one. I will close my PR. Thank you for reviewing. |
| * `file` {string|undefined} The path of the test file, | ||
| undefined if test is not ran through a file. | ||
| * `name` {string} The test name. | ||
| * `nesting` {number} The nesting level of the test. |
There was a problem hiding this comment.
Nit
| * `nesting` {number} The nesting level of the test. | |
| * `level` {number} The nesting level of the test. |
There was a problem hiding this comment.
nesting is already used on all other events on this class
|
|
||
| * `data` {Object} | ||
| * `file` {string|undefined} The path of the test file, | ||
| undefined if test is not ran through a file. |
There was a problem hiding this comment.
| undefined if test is not ran through a file. | |
| undefined if test was not run through a file. |
There was a problem hiding this comment.
this exact terminology is used in 6 other places in this file, so I will fix it in a follow-up PR
|
|
||
| * `data` {Object} | ||
| * `file` {string|undefined} The path of the test file, | ||
| undefined if test is not ran through a file. |
There was a problem hiding this comment.
What are you trying to say here?
"will not run" in this (and above) perhaps?
There was a problem hiding this comment.
I think running within REPL is the main example of this. Il refine this in a follow-up
| @@ -97,7 +97,7 @@ describe('node:test reporters', { concurrency: true }, () => { | |||
| testFile]); | |||
There was a problem hiding this comment.
Would be useful to also test the arguments
|
Landed in 8bc6e19 |
PR-URL: #48428 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
PR-URL: nodejs#48428 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
PR-URL: nodejs#48428 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
PR-URL: nodejs#48428 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Fixes #46727