Skip to content

Commit

Permalink
Update postman-sandbox dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
codenirvana committed Nov 2, 2023
1 parent f407142 commit 3a79a07
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions lib/runner/extensions/event.command.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ getCookieDomain = function (fnName, args) {
return domain;
};

// TODO: Find a better way to track skipped executions
const skippedExecutions = new Set(),
isExecutionSkipped = (executionId) => {
return skippedExecutions.has(executionId);
Expand Down Expand Up @@ -158,6 +159,9 @@ module.exports = {
return done();
}

// reset previously skipped executions
skippedExecutions.clear();

sandbox.createContext(_.merge({
timeout: _(run.options.timeout).pick(['script', 'global']).values().min(),
serializeLogs: _.get(run, 'options.script.serializeLogs')
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"performance-now": "2.1.0",
"postman-collection": "4.2.1",
"postman-request": "2.88.1-postman.33",
"postman-sandbox": "4.2.8",
"postman-sandbox": "4.3.0",
"postman-url-encoder": "3.0.5",
"serialised-error": "1.1.3",
"strip-json-comments": "3.1.1",
Expand Down

0 comments on commit 3a79a07

Please sign in to comment.