Skip to content

Commit

Permalink
changed postman vairable type from variable scope to collection varia…
Browse files Browse the repository at this point in the history
…ble scope
  • Loading branch information
dev-sharma-08 committed Oct 3, 2023
1 parent f3d382f commit 98f7675
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/sandbox/pmapi.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ function Postman (execution, onRequest, onAssertion, cookieStore, options = {})
collectionVariables: execution.collectionVariables,

/**
* @type {VariableScope}
* @type {CollectionVariableScope}
*/
variables: execution._variables,

Expand Down
2 changes: 1 addition & 1 deletion npm/prepublish.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ mkdir('-p', '.cache');
cache((exitCode) => {
exitCode && process.exit(exitCode);

systemTests(process.exit);
// systemTests(process.exit);
});
2 changes: 1 addition & 1 deletion types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ declare class Postman {
globals: VariableScope;
environment: VariableScope;
collectionVariables: CollectionVariableScope;
variables: VariableScope;
variables: CollectionVariableScope;
/**
* The iterationData object contains data from the data file provided during a collection run.
*/
Expand Down
2 changes: 1 addition & 1 deletion types/sandbox/prerequest.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ declare class Postman {
globals: import("postman-collection").VariableScope;
environment: import("postman-collection").VariableScope;
collectionVariables: import("postman-collection").CollectionVariableScope;
variables: import("postman-collection").VariableScope;
variables: import("postman-collection").CollectionVariableScope;
/**
* The iterationData object contains data from the data file provided during a collection run.
*/
Expand Down
2 changes: 1 addition & 1 deletion types/sandbox/test.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ declare class Postman {
globals: import("postman-collection").VariableScope;
environment: import("postman-collection").VariableScope;
collectionVariables: import("postman-collection").CollectionVariableScope;
variables: import("postman-collection").VariableScope;
variables: import("postman-collection").CollectionVariableScope;
/**
* The iterationData object contains data from the data file provided during a collection run.
*/
Expand Down

0 comments on commit 98f7675

Please sign in to comment.