Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions lib/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,8 @@ module.exports = {
}

item.request = request;
// add name property, which postman will use to show in UI
item.name = request && request.url && request.url.path && request.url.path.join('/');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @valentinkononov 💯
Using _.get will be appropriate here
Also, can you add a regression test to the suite?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, will do later this week.


return item;
},
Expand Down