In our project we want to disable code coverage when running from visual studio with code coverage enabled.
One of the reasons is the limited support for requirejs in the fact that when enabled it loads requirejs first in all cases.
The EnableCodeCoverage option in Chutzpah.json file that was introduced recently seems like the ticket but it doesn't do anything when set to false.
This can be seen from the code at TestContextBuilder.cs:376:
```
if (!options.CoverageOptions.Enabled && !chutzpahTestSettings.EnableCodeCoverage) return null;
```
Suggestion: Change the EnableCodeCoverage to allow 3 values, "false|true|auto". With auto being the current default (i.e. "false") and "false" and "true" forcing the enabled state.
Comments: I commited the fix I described .
One of the reasons is the limited support for requirejs in the fact that when enabled it loads requirejs first in all cases.
The EnableCodeCoverage option in Chutzpah.json file that was introduced recently seems like the ticket but it doesn't do anything when set to false.
This can be seen from the code at TestContextBuilder.cs:376:
```
if (!options.CoverageOptions.Enabled && !chutzpahTestSettings.EnableCodeCoverage) return null;
```
Suggestion: Change the EnableCodeCoverage to allow 3 values, "false|true|auto". With auto being the current default (i.e. "false") and "false" and "true" forcing the enabled state.
Comments: I commited the fix I described .