Cleanup BicepCompilationManager and update telemetry tests
Open
tech debt
- Dominant language
- Bicep
- Stars
- 3.6k
- Forks
- 830
- Avg merge
- 1d 21m
- Merged PRs (30d)
- 79
Description
- Move telemetry related code out of BicepCompilationManager
- Update below tests so that the test works fine every time a new linter rule is added.
1. BicepFileOpen_ShouldFireTelemetryEvent
2. GetLinterStateTelemetryOnBicepFileOpen_ShouldReturnTelemetryEvent
3. GetLinterStateTelemetryOnBicepFileOpen_WithNoContents_ShouldUseDefaultSettingsAndReturnTelemetryEvent
See https://github.com/Azure/bicep/pull/5373#discussion_r766019996 for more information
Contributor guide
Assessment
This issue has not been assessed yet.