From b3003f884225b024322e99d6f2040712c7dc29a5 Mon Sep 17 00:00:00 2001 From: Sean Karson Date: Mon, 6 Nov 2017 15:14:16 +0000 Subject: [PATCH] test: show incorrect value on test failure --- test/async-hooks/test-promise.promise-before-init-hooks.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/async-hooks/test-promise.promise-before-init-hooks.js b/test/async-hooks/test-promise.promise-before-init-hooks.js index 79bbd1751d83fd..957d1a75e49f70 100644 --- a/test/async-hooks/test-promise.promise-before-init-hooks.js +++ b/test/async-hooks/test-promise.promise-before-init-hooks.js @@ -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;