Reputation: 7330
My understanding is that under default settings for Mocha in WebStorm and any environment variables should be copied to other Mocha tests that I create but they are not.
See the image.
Upvotes: 0
Views: 193
Reputation: 165353
Correct -- that's exactly how it works.
The only note: such copying only occurs when you create new Run/Debug configuration of that type (Mocha in your case). Editing Default entry does not affect already created entries (of that type) in any way.
Upvotes: 1