thunk-test
Advanced tools
Comparing version 1.2.1 to 1.2.2
@@ -342,3 +342,5 @@ const noop = function () {} | ||
*/ | ||
const funcSignature = (func, args) => `${func.name || 'anonymous'}(${argsInspect(args)})` | ||
const funcSignature = (func, args) => func.name === '' | ||
? func.toString() | ||
: `${func.name}(${argsInspect(args)})` | ||
@@ -345,0 +347,0 @@ /** |
{ | ||
"name": "thunk-test", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"description": "Modular testing for JavaScript", | ||
@@ -5,0 +5,0 @@ "author": "Richard Tong", |
55390
1648