I'm using webstorm to develop a JS/TS project, and mocha for running tests. It requires a global configuration file passed as a parameter with `--require test/setup.js`.
If I create my own test profile, then no problem, but if I run the single tests with the corresponding icons in the .spec.js files, it throws an error, which means that the required file wasn't loaded.
I then edit the default configuration for Mocha, add the line, and they now run fine.
The problem is that the preference doesn't persist. I might add that I use multiple computers with the same project, both updated. The default configuration doesn't seem to be added to the workspace.xml file.
Is this a bug? Expected behaviour? Keep in mind that my settings are synced with a git repo.