Create shorthand for pm.environment.set("varName", value) === pm.env.set("varName", value)

I know this sounds trivial but…

I’ve lost count the amount of times I’ve had a typo in the word “environment”.

Ideally, can pm.env.set("varName", value) be used as a shorthand way of writing pm.environment.set("varName", value)?

This is just to simply improve the speed of writing tests by a couple of seconds :stuck_out_tongue:

2 Likes

I agree, I always seem to mistype environment too, (I did writing this reply lol :slight_smile: )

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.