Skip to content

feat: enable property in pre-request scripting [INS-3379] - #7120

Merged
ihexxa merged 1 commit into
developfrom
pre-script-prop
Feb 29, 2024
Merged

feat: enable property in pre-request scripting [INS-3379]#7120
ihexxa merged 1 commit into
developfrom
pre-script-prop

Conversation

@ihexxa

@ihexxa ihexxa commented Feb 28, 2024

Copy link
Copy Markdown
Contributor

Changes:

  • enable property in pre-request scripting
  • merge similar pre-request script test cases into one to improve performance

How to test:

Run following script:

const { Property, PropertyList } = require('insomnia-collection');

const p1 = new Property('p1');
const p2 = new Property('p2');

const propertyList = new PropertyList(Property, undefined, [p1]);
propertyList.add(p2)

console.log(p1);
console.log(propertyList.all());

@ihexxa ihexxa self-assigned this Feb 28, 2024
@ihexxa
ihexxa merged commit 2ee1475 into develop Feb 29, 2024
@ihexxa
ihexxa deleted the pre-script-prop branch February 29, 2024 02:51
jackkav pushed a commit to jackkav/insomnia that referenced this pull request Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants