Skip to content

Commit

Permalink
Merge pull request #28 from postmanlabs/feature/update-postman-collec…
Browse files Browse the repository at this point in the history
…tion-usage

Updated "postman-collection" usage to be specific to part of module being used.
  • Loading branch information
VShingala authored Jul 10, 2024
2 parents 5952e9f + b96079d commit 12cd1e2
Show file tree
Hide file tree
Showing 3 changed files with 134 additions and 469 deletions.
4 changes: 3 additions & 1 deletion lib/HARToPostmanCollectionMapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ const DEFAULT_COLLECTION_NAME = 'Generated from HAR',
NO_RESPONSE_CODE_FOUND = 'no response code found',
DEFAULT_COLLECTION_VERSION = '2.0.0',
VARIABLE_URL_PREFIX = 'baseURL',
{ Collection, Response, ItemGroup } = require('postman-collection'),
{ Collection } = require('postman-collection/lib/collection/collection'),
{ ItemGroup } = require('postman-collection/lib/collection/item-group'),
{ Response } = require('postman-collection/lib/collection/response'),
{ mapBody,
mapBodyResponse
} = require('./HARToPostmanCollectionBodyMapper'),
Expand Down
Loading

0 comments on commit 12cd1e2

Please sign in to comment.