GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — test_runner: do not invoke after hook when test is empty by marco-ippolito · Pull Request #51389 · nodejs/node Conversation
|
|
Review requested:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| test('test', async (t) => { | ||
| t.after(common.mustNotCall(() => { | ||
| t.fail('should not run'); | ||
| })); | ||
| }); |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
| test('test', async (t) => { | |
| t.after(common.mustNotCall(() => { | |
| t.fail('should not run'); | |
| })); | |
| }); | |
| test('test', (t) => { | |
| t.after(common.mustNotCall()); | |
| }); |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Landed in a53fd95 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
PR-URL: nodejs#51389 Fixes: nodejs#51371 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Chemi Atlow <[email protected]>
PR-URL: nodejs#51389 Fixes: nodejs#51371 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Chemi Atlow <[email protected]>
PR-URL: #51389 Fixes: #51371 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Chemi Atlow <[email protected]>
|
This is being reverted in #51998 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
test_runner: after() hook is called for no subtests
There was an error while loading. Please reload this page.