File tree Expand file tree Collapse file tree
tests/Aspire.Dashboard.Components.Tests/Controls Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55using Aspire . Dashboard . Model ;
66using Aspire . Dashboard . Otlp . Model ;
77using Aspire . Dashboard . Otlp . Model . MetricValues ;
8+ using Aspire . Dashboard . Otlp . Storage ;
89using Bunit ;
910using Microsoft . Extensions . DependencyInjection ;
1011using Microsoft . Extensions . Logging . Abstractions ;
@@ -26,6 +27,7 @@ public void Render_NoInstrument_NoPlotlyInvocations()
2627 Services . AddLocalization ( ) ;
2728 Services . AddSingleton < IInstrumentUnitResolver , TestInstrumentUnitResolver > ( ) ;
2829 Services . AddSingleton < BrowserTimeProvider , TestTimeProvider > ( ) ;
30+ Services . AddSingleton < TelemetryRepository > ( ) ;
2931
3032 var model = new InstrumentViewModel ( ) ;
3133
@@ -50,6 +52,7 @@ public async Task Render_HasInstrument_InitializeChartInvocation()
5052 Services . AddLocalization ( ) ;
5153 Services . AddSingleton < IInstrumentUnitResolver , TestInstrumentUnitResolver > ( ) ;
5254 Services . AddSingleton < BrowserTimeProvider , TestTimeProvider > ( ) ;
55+ Services . AddSingleton < TelemetryRepository > ( ) ;
5356
5457 var options = new TelemetryLimitOptions ( ) ;
5558 var instrument = new OtlpInstrument
You can’t perform that action at this time.
0 commit comments