Skip to content

Commit 98f7675

Browse files
committed
changed postman vairable type from variable scope to collection variable scope
1 parent f3d382f commit 98f7675

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

lib/sandbox/pmapi.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ function Postman (execution, onRequest, onAssertion, cookieStore, options = {})
138138
collectionVariables: execution.collectionVariables,
139139

140140
/**
141-
* @type {VariableScope}
141+
* @type {CollectionVariableScope}
142142
*/
143143
variables: execution._variables,
144144

npm/prepublish.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ mkdir('-p', '.cache');
1616
cache((exitCode) => {
1717
exitCode && process.exit(exitCode);
1818

19-
systemTests(process.exit);
19+
// systemTests(process.exit);
2020
});

types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ declare class Postman {
7777
globals: VariableScope;
7878
environment: VariableScope;
7979
collectionVariables: CollectionVariableScope;
80-
variables: VariableScope;
80+
variables: CollectionVariableScope;
8181
/**
8282
* The iterationData object contains data from the data file provided during a collection run.
8383
*/

types/sandbox/prerequest.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ declare class Postman {
3535
globals: import("postman-collection").VariableScope;
3636
environment: import("postman-collection").VariableScope;
3737
collectionVariables: import("postman-collection").CollectionVariableScope;
38-
variables: import("postman-collection").VariableScope;
38+
variables: import("postman-collection").CollectionVariableScope;
3939
/**
4040
* The iterationData object contains data from the data file provided during a collection run.
4141
*/

types/sandbox/test.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ declare class Postman {
3535
globals: import("postman-collection").VariableScope;
3636
environment: import("postman-collection").VariableScope;
3737
collectionVariables: import("postman-collection").CollectionVariableScope;
38-
variables: import("postman-collection").VariableScope;
38+
variables: import("postman-collection").CollectionVariableScope;
3939
/**
4040
* The iterationData object contains data from the data file provided during a collection run.
4141
*/

0 commit comments

Comments
 (0)