Azure / Azure/bicep

Cleanup BicepCompilationManager and update telemetry tests

Open
#5,386 2 comments 0 reactions 1 assignee Claimed by @bhsubra View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.