mirror of
https://github.com/nodejs/node.git
synced 2026-10-28 18:25:13 +08:00
test: ensure assertions are reached on more tests
PR-URL: https://github.com/nodejs/node/pull/60641 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
This commit is contained in:
1 parent
57b4a315ce
commit
f1f6f3df84
78 files changed
+324
-297
No files matched your search
@@ -34,6 +34,6 @@ async_hooks.createHook({
|
||||
}),
|
||||
}).enable();
|
||||
|
||||
runInCallbackScope(expectedResource, expectedResourceType, () => {
|
||||
runInCallbackScope(expectedResource, expectedResourceType, common.mustCall(() => {
|
||||
assert(insideHook);
|
||||
});
|
||||
}));
|
||||
Reference in new issue
Block a user