Skip to content

Commit 1b08b38

Browse files
committed
prefer function name instead of dynamic
1 parent e326174 commit 1b08b38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/helpers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ _describe.whenCalledRemotely = function(verb, url, data, cb) {
287287

288288
var urlStr = url;
289289
if(typeof url === 'function') {
290-
urlStr = '/<dynamic>';
290+
urlStr = url.name || '/<dynamic>';
291291
}
292292
else if(typeof url === 'object' && url.hasOwnProperty('placeHolder')) {
293293
urlStr = url.placeHolder;

0 commit comments

Comments
 (0)