Skip to content

Commit

Permalink
test: show incorrect value on test failure
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
Sean Karson authored and cjihrig committed Nov 7, 2017
1 parent 50d505c commit a85d6e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/async-hooks/test-promise.promise-before-init-hooks.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ hooks.enable();
p.then(function afterresolution(val) {
assert.strictEqual(val, 5);
const as = hooks.activitiesOfTypes('PROMISE');
assert.strictEqual(as.length, 1, 'one activity');
assert.strictEqual(as.length, 1);
checkInvocations(as[0], { init: 1, before: 1 },
'after resolution child promise');
return val;
Expand Down

0 comments on commit a85d6e9

Please sign in to comment.