Skip to content

chore: clean up pre-request script sdk objects#7170

Closed
ihexxa wants to merge 1 commit intodevelopfrom
pre-req-cleanup-sdk-1
Closed

chore: clean up pre-request script sdk objects#7170
ihexxa wants to merge 1 commit intodevelopfrom
pre-req-cleanup-sdk-1

Conversation

@ihexxa
Copy link
Contributor

@ihexxa ihexxa commented Mar 13, 2024

Please review this PR (#7147) firstly as current one is based on it

Changes:

  • add simple interpolator for enabling replaceIn methods and cleanups
  • add private _index field to follow existing method behavior such as one

How to test

Run this script and check if it runs well:

insomnia.environment.set('name', 'jack');
const welcome = pm.environment.replaceIn("Hello {{name}}.");
console.log(welcome);

@ihexxa ihexxa force-pushed the pre-req-cleanup-sdk-1 branch from 5983967 to 5f1b7d6 Compare March 13, 2024 09:11
@ihexxa
Copy link
Contributor Author

ihexxa commented Mar 15, 2024

Close this one as it is too small and a part of this PR: #7172

@ihexxa ihexxa closed this Mar 15, 2024
@ihexxa ihexxa deleted the pre-req-cleanup-sdk-1 branch April 15, 2024 02:54
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.

1 participant