We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 50d505c commit a85d6e9Copy full SHA for a85d6e9
test/async-hooks/test-promise.promise-before-init-hooks.js
@@ -16,7 +16,7 @@ hooks.enable();
16
p.then(function afterresolution(val) {
17
assert.strictEqual(val, 5);
18
const as = hooks.activitiesOfTypes('PROMISE');
19
- assert.strictEqual(as.length, 1, 'one activity');
+ assert.strictEqual(as.length, 1);
20
checkInvocations(as[0], { init: 1, before: 1 },
21
'after resolution child promise');
22
return val;
0 commit comments