diff --git a/test/async-hooks/verify-graph.js b/test/async-hooks/verify-graph.js index 1b188faa149b21..99b32e908165cd 100644 --- a/test/async-hooks/verify-graph.js +++ b/test/async-hooks/verify-graph.js @@ -108,7 +108,8 @@ module.exports = function verifyGraph(hooks, graph) { for (const type in expTypes) { assert.strictEqual(typeSeen[type], expTypes[type], - `Expecting type '${type}' in graph`); + `Type '${type}': expecting: ${expTypes[type]} ` + + `found ${typeSeen[type]}`); } };