Skip to content

Commit a85d6e9

Browse files
Sean Karsoncjihrig
Sean Karson
authored andcommitted
test: show incorrect value on test failure
PR-URL: #16818 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Khaidi Chu <[email protected]>
1 parent 50d505c commit a85d6e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/async-hooks/test-promise.promise-before-init-hooks.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ hooks.enable();
1616
p.then(function afterresolution(val) {
1717
assert.strictEqual(val, 5);
1818
const as = hooks.activitiesOfTypes('PROMISE');
19-
assert.strictEqual(as.length, 1, 'one activity');
19+
assert.strictEqual(as.length, 1);
2020
checkInvocations(as[0], { init: 1, before: 1 },
2121
'after resolution child promise');
2222
return val;

0 commit comments

Comments
 (0)