Skip to content

test_runner: allow nesting test within describe

Fixes: https://github.com/nodejs/node/issues/46478

although initially test and describe were not meant to be used together I see no reason why not to allow this, as the use case demonstrated in https://github.com/nodejs/node/issues/46478#issuecomment-1420588544 is valid. additionally, other test runners such as playwright and mocha also support this.

another outcome of this change is that running a nested test within test will now work the same way t.test did previously, wich sounds reasonable to me as well

Merge request reports

Loading